Nik Bougalis
b277c353a8
Eliminate dead bytes from nodestore encoding:
...
The legacy nodestore encoding for blobs had an 8 byte prefix. Originally
the first 4 bytes stored the sequence number of the ledger to which the
encoded object belogned; the next 4 bytes were never specified rigidly
and some versions stored a redundant copy of the ledger sequence while
others simply set the bytes to 0.
Eventually that scheme was abandoned, and the first 8 bytes were just
set to 0 and ignored when reloading a blob.
This commit removes the unusued 8 byte legacy prefix. The change is
makes it impossible to load old databases with this code and for old
versions to load databases created with this code.
2023-01-07 15:36:34 -08:00
Richard Holland
0a6708c673
allow small data as int64 again on state api
2022-12-21 12:31:39 +00:00
Richard Holland
42da01d87c
xpop_history bug
2022-12-21 11:43:57 +00:00
Richard Holland
08374421ce
add KEYLET_HOOK_DEFINITION to util_keylet
2022-12-21 11:29:47 +00:00
Richard Holland
0ef979a17b
change HookOn to uint256
2022-12-20 10:55:28 +00:00
Richard Holland
39ecdb6795
Add NetworkID field to Transaction common fields, enforced when network id > 1024
2022-12-19 16:48:40 +00:00
Richard Holland
05f961c77c
first half of XPOP_HISTORY
2022-12-19 16:45:13 +00:00
Richard Holland
6e001cf0bf
enforce cmdline quorum when provided
2022-12-18 13:34:04 +00:00
Richard Holland
fef1f53c8b
add reward time to BalanceRewards amendment
2022-12-17 15:09:50 +00:00
Richard Holland
c118705a38
bug fix on ClaimReward tx template
2022-12-17 10:20:47 +00:00
Richard Holland
35bf8bef5a
update featureBalanceRewards to operate on metdata (compiling not tested)
2022-12-17 09:33:14 +00:00
Richard Holland
979f44d080
bug fix
2022-12-16 19:56:54 +00:00
Richard Holland
81bcb621a7
ttINVOKE
2022-12-16 13:40:27 +00:00
Richard Holland
8a0635396a
ttInvoke part 1
2022-12-16 13:40:23 +00:00
Richard Holland
44425f14f6
Balance Rewards amendment (compiling not tested)
2022-12-16 11:55:53 +00:00
Richard Holland
d48ac760d4
set earliest seq to 1
2022-12-16 11:54:37 +00:00
Richard Holland
9a826cc54e
change min ledger seq to 3
2022-12-14 08:08:03 +00:00
Richard Holland
1b70420276
fix zero ips bug
2022-12-13 10:29:36 +00:00
Richard Holland
b0ebd8e3eb
update to wasmedge 0.11 (untested)
2022-12-13 10:19:08 +00:00
Richard Holland
f467ce5fa6
change desired starting amendments to default yes
2022-12-12 15:39:23 +00:00
Richard Holland
f2d54f8427
change config filename defaults
2022-12-12 15:11:06 +00:00
Richard Holland
8a7fa7111d
add wasms for hook tests
2022-12-12 13:49:50 +00:00
Richard Holland
a915eab15b
change version string, remove bootstrap servers
2022-12-12 13:48:51 +00:00
Richard Holland
d9e03f9ffb
state_set (release_marker)
2022-12-12 11:54:00 +00:00
Richard Holland
e4aa7db5cb
increase size of hook state to 256 bytes, parameters too, change the reserve requirement to 1:1 for hook state, allow weak execution on rollback if hook_again was specified, add further state_set tests
2022-12-11 13:03:08 +00:00
Richard Holland
90949b8a59
start of state api testing
2022-12-10 14:19:20 +00:00
Richard Holland
59b9074d03
otxn_type test
2022-12-06 13:53:47 +00:00
Richard Holland
3d59072c97
otxn_slot test
2022-12-06 13:28:43 +00:00
Richard Holland
307c748394
add otxn_id test
2022-12-06 12:45:29 +00:00
Richard Holland
7ca435d8f7
remove otxn_field_txt api (old api that should have been removed earlier)
2022-12-06 11:19:28 +00:00
Richard Holland
7f71535773
add util_keylet tests for new functionality, clean up
2022-12-06 11:10:19 +00:00
Richard Holland
1d6daf71de
add slot_type test, allow util_keylet to accept a 3 character ascii currency code for KEYLET_LINE
2022-12-06 10:57:47 +00:00
Richard Holland
cf3c9205f6
slot_subfield test
2022-12-02 13:08:56 +00:00
Richard Holland
ed974de37b
slot_subarray test, fix get_free_slot bug
2022-12-01 11:42:01 +00:00
Richard Holland
5d19a162f6
slot_size test
2022-11-29 11:37:56 +00:00
Richard Holland
7f72ef014b
slot_set bug fixes, slot_set test
2022-11-29 11:25:28 +00:00
Richard Holland
b3de176b56
remove slot_id, trace_slot, redundant apis
2022-11-29 09:39:04 +00:00
Richard Holland
070e6032f1
two more slot api tests
2022-11-28 12:00:04 +00:00
Richard Holland
36a500e95b
unit test for slot
2022-11-28 10:43:38 +00:00
Richard Holland
a76cb3b9c5
fix util_keylet test
2022-11-27 09:03:30 +00:00
Richard Holland
1855635cf8
util_verify test cases
2022-11-25 15:34:46 +00:00
Richard Holland
380e6a850a
add test for util_keylet, bug fixes
2022-11-25 13:42:35 +00:00
Richard Holland
bdc87cb33b
add uint256 support to various keylets in util_keylet
2022-11-24 16:39:35 +00:00
Richard Holland
aea437ca76
sto_ api tests finished
2022-11-22 13:27:29 +00:00
Richard Holland
3b44333a98
sto_subfield and subarray tests (not working yet)
2022-11-22 11:49:24 +00:00
Richard Holland
2f85e56b4d
sto_erase now overloads sto_emplace, sto_validate test
2022-11-22 11:10:42 +00:00
Richard Holland
91447e7c21
sto_emplace test working
2022-11-22 10:06:56 +00:00
Richard Holland
854ae819aa
sto_emplace testcase
2022-11-21 13:50:21 +00:00
Richard Holland
2273ed9d3e
add unit test for util_sha512h, fix bounds check on read buffer
2022-11-18 15:09:51 +00:00
Richard Holland
e2286ef565
unit test for util_raddr
2022-11-18 14:51:26 +00:00