Esempio n. 1
0
 /// <summary>
 /// Creates a network query to lookup the given indexed data.
 /// </summary>
 /// <param name="Bounty">The reward for a successful response to the query.</param>
 public Query<Data> Retreive(ID Index, Bounty Bounty)
 {
     throw new NotImplementedException();
 }
Esempio n. 2
0
 /// <summary>
 /// Stores the given data on the network and gets an index for it.
 /// </summary>
 /// <param name="PredictedBounty">A predication of the reward a peer will get by storing the data and making it available for
 /// other peers. After x seconds (from calling this method), the total favor a peer will receive for storing the data is predicted
 /// to be the intergral of the bounty at x. This can also be interpreted as the predicted reward a peer will get for storing the data for one second.</param>
 public Query<ID> Store(Data Data, Bounty PredictedBounty)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 /// <summary>
 /// Writes a bounty to a stream.
 /// </summary>
 public static void Write(Bounty Bounty, OutStream Stream)
 {
     Stream.WriteDouble(Bounty.Base);
     Stream.WriteDouble(Bounty.Decay);
 }