You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docker/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,10 @@ cd yosemite-public-blockchain/Docker
20
20
docker build . -t yosemitex/yosemite
21
21
```
22
22
23
-
The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the 1.6.0 tag, you could do the following:
23
+
The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the 1.6.3 tag, you could do the following:
* @brief Retrieve top transaction vote receiver list from blockchain core.
58
+
* Transaction votes are processed and accrued for each vote target account on blockchain core by YOSEMITE Proof-of-Transaction/Transaction-as-a-Vote protocol
59
+
* Smart contract code including system contract can retrieve the top transaction vote receiver list
60
+
* sorted by the accumulated time-decaying weighted transaction vote amount for each tx vote receiver account.
61
+
* The whole list of transaction vote receivers can be arbitrarily long,
62
+
* so the sorted list can be retrieved by multiple function call with different offset_rank and limit parameter values.
63
+
*
64
+
* @param buffer - a buffer to write the top sorted transaction vote receiver list data to,
65
+
* returned buffer memory contains array of 'yosemite_tx_vote_stat_for_account' struct
66
+
* @param size - the size of the buffer, 0 to return required size
67
+
* @param offset_rank - offset-rank of first item in the returned list. offset-rank n means the returned list starts from the rank n+1 tx vote receiver.
68
+
* e.g. if offset_rank = 0, the first item in the returned list is the top 1 vote receiver.
69
+
* @param limit - max limit of the returned item count
70
+
*
71
+
* @return the size of the sorted transaction vote receiver list data written to the buffer (array of 'yosemite_tx_vote_stat_for_account' struct),
72
+
* or number of bytes that can be copied if size==0 passed
73
+
* @pre `buffer` is a valid pointer to a range of memory at least `size` bytes long
74
+
* @post `buffer` is filled with packed transaction vote receiver list data
0 commit comments