This commit is contained in:
progr76@gmail.com
2019-02-21 17:31:48 +03:00
parent 501ea7c584
commit 572a61a6a6
35 changed files with 4230 additions and 95 deletions

View File

@@ -229,7 +229,6 @@ return:
option to set parameters for organizing page navigation:
* NextPos - history line ID number (this value is taken from the last line of the previous result)
* Count - number of rows returned
Advanced setting:
* GetTxID - if set to 1, the transaction ID in hex-format is returned in the TxID field
@@ -250,15 +249,15 @@ return:
"result": 1,
"History": [
{
"Type": 1,
"BlockNum": 19994502,
"TrNum": 0,
"Pos": 498190,
"NextPos": 439090,
"Direct": "+",
"CorrID": 190478,
"SumCOIN": 1,
"SumCENT": 0
"Type": 1, //<---- History item type (currently only type 1 is supported)
"BlockNum": 19994502, //<---- number of the block in which the transaction is recorded
"TrNum": 0, //<---- the line number of the block in which the transaction is recorded
"Pos": 498190, //<---- position in the index file history (this position can be overwritten by overwriting the transaction, such as downloaded another block chain or run RewriteTransactions)
"NextPos": 439090, //<---- next position in the index file
"Direct": "+", //<---- "+"receipt of money," - " withdrawal of money
"CorrID": 190478, //<---- corresponding account (where the money came from or Vice versa where it went)
"SumCOIN": 1, //<---- Sum of the whole part of coins
"SumCENT": 0 //<---- The sum of the fractional parts of coins
},
{
"Type": 1,
@@ -273,15 +272,15 @@ return:
}
],
"Tail": {
"NextPos": 498190,
"Reserv": {
"NextPos": 498190, //<---- link to the most recent transaction history update (i.e. the most recent history)
"Reserv": { //<---- not used (reserved for future versions)
"type": "Buffer",
"data": [
0,
0
]
},
"Num": 190480
"Num": 190480 //<---- account ID
}
}
```