herald.go/testdata
Jonathan Moody 071aa2a7ad
Catchup to python-herald schema. Plus lots of refactoring. (#49)
* Make prefixes_test.go more resilient against garbage left
by a prior crash. Also correct error logging.

* 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.

* Simplify type-specific partial packing, and simplify dispatch for pack key/value.

* Add struct field annotations and refactor to prepare for
use of "restruct" generic packing/unpacking.

* Add dynamic pack/unpack based on "restruct" module.
Dispatch normal pack/unpack through tableRegistry[] map
instead of switch.

* Add 5 new prefixes/tables (TrendingNotifications..HashXMempoolStatus).

* Undo rename. TouchedOrDeleted -> ClaimDiff.

* Fixup callers of eliminated partial pack functions. Have them use key.PartialPack(n).

* Add pluggable SerializationAPI. Use it in prefixes_test.
Populate PrefixRowKV.RawKey,RawValue when appropriate.

* Undo accidental bump of rocksdb version.

* Add .vscode dir to gitignore.

* Fix ClaimToChannelValue annotation. Implement BlockTxsValue workaround
as I can't find the right annotation to get it marshalled/unmarshalled.

* Strengthen partial packing verification. Fix bugs
in UnpackKey/UnpackValue for new types.

* Remove .DS_Store, and ignore in future.

* Fix MempoolTxKey, TouchedHashXValue. Remove some unneeded struct tags.

* Generate test data and complete the tests for the new tables.
Add Fuzz tests for TouchedHashXKey, TouchedHashXValue with
happy path test data (only).

* Move tableRegistry to prefixes.go and rename it prefixRegistry.
Other minor fixes, comments.

* Add test that runs through GetPrefixes() contents, and verifies
they are registered in prefixRegistry.
2022-08-16 08:45:41 +03:00
..
a.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
a_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
ab.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
b.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
B.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
C.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
c.csv Catchup to python-herald schema. Plus lots of refactoring. (#49) 2022-08-16 08:45:41 +03:00
D.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
d.csv Catchup to python-herald schema. Plus lots of refactoring. (#49) 2022-08-16 08:45:41 +03:00
E.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
e.csv Catchup to python-herald schema. Plus lots of refactoring. (#49) 2022-08-16 08:45:41 +03:00
E_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
F.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
f.csv Catchup to python-herald schema. Plus lots of refactoring. (#49) 2022-08-16 08:45:41 +03:00
F_cat.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
F_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
FULL_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
g.csv Catchup to python-herald schema. Plus lots of refactoring. (#49) 2022-08-16 08:45:41 +03:00
G.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
G_2.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
G_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
h.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
H.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
I.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
I_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
J.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
J_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
K.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
L.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
M.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
N.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
O.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
P.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
P_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
Q.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
R.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
R_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
s.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
S.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
s_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
S_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
T.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
u.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
V.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
V_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
W.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
W_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
X.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
x.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
X_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
Y.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
Z.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00
Z_resolve.csv rocksdb (#29) 2022-04-29 11:04:01 -04:00