From e115158f866d2cadbdbd05c1f18b6caf39116f5d Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 23 Sep 2016 03:04:59 -0400 Subject: [PATCH] docstring --- lbrynet/core/BlobPrice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/core/BlobPrice.py b/lbrynet/core/BlobPrice.py index be370680c..18417c5cc 100644 --- a/lbrynet/core/BlobPrice.py +++ b/lbrynet/core/BlobPrice.py @@ -25,7 +25,7 @@ def frontload(index): def calculate_price(mean_availability, availability, index_position=0): """ - Calculate mean availability weighted price for a blob + Calculate mean-blob-availability and stream-position weighted price for a blob @param mean_availability: sum of blob availabilities over the number of known blobs @param availability: number of known peers for blob @@ -42,7 +42,7 @@ class BlobPriceAndAvailabilityTracker(object): Class to track peer counts for known blobs and update price targets Attributes: - prices (dist): dictionary of blob prices + prices (dict): dictionary of blob prices availability (dict): dictionary of peers for known blobs """