Jonathan Moody
|
84caed6b17
|
Add test that runs through GetPrefixes() contents, and verifies
they are registered in prefixRegistry.
|
2022-08-12 14:18:41 -04:00 |
|
Jonathan Moody
|
9e72f9c4bc
|
Move tableRegistry to prefixes.go and rename it prefixRegistry.
Other minor fixes, comments.
|
2022-08-12 14:11:29 -04:00 |
|
Jonathan Moody
|
972bc00ff3
|
Generate test data and complete the tests for the new tables.
Add Fuzz tests for TouchedHashXKey, TouchedHashXValue with
happy path test data (only).
|
2022-08-11 13:58:24 -04:00 |
|
Jonathan Moody
|
d42ac9feab
|
Fix MempoolTxKey, TouchedHashXValue. Remove some unneeded struct tags.
|
2022-08-11 13:49:59 -04:00 |
|
Jonathan Moody
|
99a93e5230
|
Remove .DS_Store, and ignore in future.
|
2022-08-10 22:26:39 -04:00 |
|
Jonathan Moody
|
8a5b6ca142
|
Strengthen partial packing verification. Fix bugs
in UnpackKey/UnpackValue for new types.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
3f2af415d1
|
Fix ClaimToChannelValue annotation. Implement BlockTxsValue workaround
as I can't find the right annotation to get it marshalled/unmarshalled.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
b7c109a4fa
|
Add .vscode dir to gitignore.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
9b6bbe9806
|
Undo accidental bump of rocksdb version.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
02f7a41d49
|
Add pluggable SerializationAPI. Use it in prefixes_test.
Populate PrefixRowKV.RawKey,RawValue when appropriate.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
441da6b2b3
|
Fixup callers of eliminated partial pack functions. Have them use key.PartialPack(n).
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
250158480c
|
Undo rename. TouchedOrDeleted -> ClaimDiff.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
d7f52bd51e
|
Add 5 new prefixes/tables (TrendingNotifications..HashXMempoolStatus).
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
9d1992e95f
|
Add dynamic pack/unpack based on "restruct" module.
Dispatch normal pack/unpack through tableRegistry[] map
instead of switch.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
1e467a715f
|
Add struct field annotations and refactor to prepare for
use of "restruct" generic packing/unpacking.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
0c1840c09c
|
Simplify type-specific partial packing, and simplify dispatch for pack key/value.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
36d8d97333
|
Don't do the ones' complement thing with DBStateValue fields
HistFlushCount, CompFlushCount, CompCursor. Python-herald
doesn't do it, and it presents one more irregular case for
(un)marshalling fields.
|
2022-08-10 14:30:57 -04:00 |
|
Jonathan Moody
|
2569a55f63
|
Make prefixes_test.go more resilient against garbage left
by a prior crash. Also correct error logging.
|
2022-08-10 14:30:57 -04:00 |
|