add TickSize support

This commit is contained in:
Matthew Fettig
2017-03-22 12:15:19 -07:00
parent 9ddb6498b0
commit 4359446101
2 changed files with 19 additions and 1 deletions

View File

@@ -1457,6 +1457,16 @@
"isSigningField": true,
"type": "Hash256"
}
],
[
"TickSize",
{
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
]
],
"TRANSACTION_RESULTS": {
@@ -1551,7 +1561,8 @@
"temINVALID": -277,
"tecINSUF_RESERVE_OFFER": 123,
"tecNO_LINE_INSUF_RESERVE": 126,
"terNO_AUTH": -95
"terNO_AUTH": -95,
"temBAD_TICK_SIZE": -270
},
"TRANSACTION_TYPES": {
"OfferCancel": 8,

View File

@@ -937,6 +937,13 @@
"nth_of_type": 3,
"type": 19,
"expected_hex": "0313"
},
{
"type_name": "UInt8",
"name": "TickSize",
"nth_of_type": 16,
"type": 16,
"expected_hex": "01010"
}
],
"whole_objects": [