Commit Graph

7233 Commits

Author SHA1 Message Date
Jude Nelson
a58f928c8a use get_name_record where appropriate 2018-01-19 18:44:47 -05:00
Jude Nelson
f0aba056d6 use get_name_record where appropriate 2018-01-19 18:44:36 -05:00
Jude Nelson
7c65876446 use get_name_record when appropriate 2018-01-19 18:44:24 -05:00
Jude Nelson
a6a2109886 remove dead code; allow omitting history when querying names and namespaces 2018-01-19 18:44:07 -05:00
Jude Nelson
63ba1e16a0 remove dead code 2018-01-19 18:43:57 -05:00
Jude Nelson
19b85dbb7f add rpc_get_name_record() which does not return blockchain history 2018-01-19 18:43:45 -05:00
Jude Nelson
06cfae1aaa ports 6264 and 16264 don't use ssl 2018-01-19 17:33:43 -05:00
Jude Nelson
6501d2bffd check name-transfer quirk to make sure we're using the right previous consensus hash when calculating the snapshot of the operation 2018-01-19 17:14:22 -05:00
Jude Nelson
a405519dd0 removea dead code 2018-01-19 17:14:16 -05:00
Jude Nelson
9cda1a3a81 flush cache in the test framework as well 2018-01-19 15:53:05 -05:00
Jude Nelson
0d725fcc27 remove consensus import 2018-01-19 15:38:44 -05:00
Jude Nelson
4d965d9062 remove dead code 2018-01-19 15:30:30 -05:00
Jude Nelson
5367ca368e remove consensus import 2018-01-19 15:30:21 -05:00
Jude Nelson
18bbaa183a apply transfer consensus hash quirk 2018-01-19 15:14:18 -05:00
Jude Nelson
ce965baf2e verify that the consensus hash is valid, and preserve the one we need to snapshot separately 2018-01-19 15:13:57 -05:00
Jude Nelson
df8aba81b0 slightly better docs 2018-01-19 15:13:25 -05:00
Jude Nelson
1de3e01037 on name transfers, verify that the transfer consensus hash quirk is applied before snapshotting 2018-01-19 15:13:03 -05:00
Jude Nelson
f13ab07766 only run op_canonicalize_quirks() once on an operation, and eagerly filter out extra data (e.g. transient quirk-related data) on a state-transition 2018-01-19 15:12:20 -05:00
Jude Nelson
60dae6bbfb cache bitcoind info for a block time, or until we reindex 2018-01-19 15:11:00 -05:00
Jude Nelson
424e722d0a simple benchmarking tool 2018-01-18 19:57:46 -05:00
Jude Nelson
3e770c6427 fix url_to_host_port() for cases where we add a schema to the URL 2018-01-18 19:57:25 -05:00
Jude Nelson
f0e19e81ea average seconds per block 2018-01-18 19:57:13 -05:00
Jude Nelson
9af251826b add missing kw values 2018-01-18 19:57:00 -05:00
Jude Nelson
755268865f cache bitcoind response for 10 minutes 2018-01-18 19:56:49 -05:00
Jude Nelson
9b0fd9d1fa remove dead code 2018-01-18 19:56:39 -05:00
Jude Nelson
ffe5fe0d47 Merge branch 'develop' into feature/clean-chainstate 2018-01-18 13:24:52 -05:00
Jude Nelson
910c058ad7 Merge pull request #696 from blockstack/feature/set-bitcoind-rpcbind
Adds a POST /v1/zonefile API endpoint
2018-01-18 13:24:27 -05:00
Jude Nelson
903a2544f2 load expected snapshots as json before sqlite3 2018-01-17 23:46:01 -05:00
Jude Nelson
c3484c0d7e bitcoind can reorder transactions. accomodate this 2018-01-17 22:31:57 -05:00
Jude Nelson
066ba602c9 take an optional end-block when syncing zonefiles (since we can be doing this while indexing) 2018-01-17 22:31:37 -05:00
Jude Nelson
5f7e6c68d2 sync the atlas db with operation(s) we just committed 2018-01-17 22:31:19 -05:00
Jude Nelson
fe369cb62c don't sync the atlas db outside of virtualchain_hooks (since it just duplicates work) 2018-01-17 22:30:57 -05:00
Jack Zampolin
6553c48f9e Merge pull request #715 from OlivierBondu/fix_linux_protocol_handler
attempt at fixing the linux protocol handler
2018-01-17 16:27:39 -08:00
Jude Nelson
039f366cc7 don't care too much about noncanonical fields 2018-01-17 18:59:22 -05:00
Jude Nelson
723e4b6b35 restore lock on atlasdb to serialize ops 2018-01-17 18:59:08 -05:00
Jude Nelson
4302c958d7 whitespace 2018-01-17 18:59:00 -05:00
Jude Nelson
59d4f7d026 when type-comparing, coerse unicode to string 2018-01-17 17:20:41 -05:00
Jude Nelson
5d6be3c65a check types in DID queries; make sure to fetch canonical representation of a name when comparing final name states to DID queries 2018-01-17 17:02:23 -05:00
Jude Nelson
711e11df0b fix op_canonicalize_quirks to preserve op_fee float/int based on current last creation op by default (deferring to previous db record's last creation op and op_fee values only when needed) 2018-01-17 17:01:35 -05:00
Jude Nelson
b8bd31f0f3 expect returned db record to have all consensus fields 2018-01-17 17:01:18 -05:00
Jude Nelson
822127dee3 return merged record on state transition, and canonicalize it and preserve quirks 2018-01-17 17:00:59 -05:00
Jude Nelson
2abfd4a5a1 preserve opcode in canonicalization 2018-01-17 17:00:44 -05:00
Jude Nelson
0e36eab0ea preorders don't have last_creation_op 2018-01-17 15:30:08 -05:00
Jude Nelson
b5a19ea46c use test framework's expected snapshots when starting atlas peers (helps test this functionality) 2018-01-17 15:29:49 -05:00
Jude Nelson
dbc07c6a72 pass global working dir to atlas simulator 2018-01-17 15:29:38 -05:00
Jude Nelson
8ed95cd48b preorders don't have last_creation_op 2018-01-17 15:29:24 -05:00
Jude Nelson
a869d03d0c extract snapshots from chainstate db as well as legacy snapshots JSON 2018-01-17 14:59:43 -05:00
Jude Nelson
742dc7c852 namespace_reveal doesn't have an op_fee. check for this 2018-01-17 14:19:17 -05:00
Jude Nelson
a955c775cc last_creation_op 2018-01-17 14:19:06 -05:00
Jude Nelson
af775a606e last_creation_op 2018-01-17 14:18:56 -05:00