Jude Nelson
4d792e2494
clean up imports
2017-04-27 19:22:16 -04:00
Jude Nelson
1ef16e5e28
remove pybitcoin import
2017-03-27 15:12:03 -04:00
Jude Nelson
363cc3c7cf
expected_snapshots is keyed by integer, not string
2016-10-27 00:03:31 -04:00
Jude Nelson
002078c57e
don't return virutalchain fields
2016-10-24 03:18:31 -04:00
Jude Nelson
25c5c62c13
do not give back virtualchain fields when restoring operations for
...
get_nameops_at
2016-10-10 12:03:12 -04:00
Jude Nelson
8b5c554a93
accept a dict of expected consensus hashes while verifying the database,
...
and check each block along the way (instead of just the last one)
2016-09-28 19:53:15 -04:00
Jude Nelson
e9af1f6406
be pedantic: close the DB handle when we're done with it
2016-09-14 18:17:02 -04:00
Jude Nelson
c4abd401e1
pass both the working db and untrusted db when calculating extra
...
consensus fields (since the untrusted db might not have the data we
need when verifying). Also, when calculating consensus quirks, check if
a name operation is the first NAME_IMPORT for a name in order to handle
the NAME_IMPORT fee quirk correctly.
2016-09-07 11:08:06 -04:00
Jude Nelson
3d8228a914
move database and history verification to one place
2016-09-02 00:14:39 -04:00