Commit Graph

11 Commits

Author SHA1 Message Date
Jude Nelson
e9fadbd35a back up 'transfer_send_block_id' in all name operations 2016-04-01 17:24:42 -04:00
Jude Nelson
ace2184195 'transfer_send_block_id' comes from the current name operation, not the
previous.
2016-04-01 17:24:24 -04:00
Jude Nelson
0597acd78b When reconstructing a NAME_TRANSFER, use its transfer_send_block_id to
look up which consensus hash to use.
2016-04-01 15:07:46 -04:00
Jude Nelson
a3cd65cddc Add integration tests that ensure that we correctly reconstruct
NAME_TRANSFER operations using the new `transfer_send_block_id` field--
even when the consensus hash from the NAME_TRANSFER is several blocks
old.
2016-04-01 15:07:02 -04:00
Jude Nelson
3b91f4a7f8 Remember which block ID contained the consensus hash that accompanied a
NAME_TRANSFER operation.  This is not a consensus-breaking change, but
any database that does not incorporate this information on NAME_TRANSFER
will be unverifiable.

The block ID is used to later look up the consensus hash that
accompanied the NAME_TRANSFER, when verifying the database or performing
SNV.  This is necessary because due to a quirk in the original
Blockstore prototype, NAME_TRANSFER did not save its consensus hash, and
our test framework accidentally masked this behavior (by sheer
coincidence, it could always select the "right" consensus hash when
reconstructing a NAME_TRANSFER operation from a name's history when
running in the test environment).  This has since been caught, and
integration tests have been written to watch for this bug.
2016-04-01 15:04:01 -04:00
Jude Nelson
067188e500 Rename the .ini file in testing 2016-04-01 14:21:24 -04:00
Muneeb Ali
3a79c9e0d9 fixed merge conflicts 2016-02-25 00:26:42 -05:00
Ubuntu
681f571d74 Backport DHT config parsing fix 2016-02-24 16:17:10 +00:00
Ubuntu
9cc9326558 virtual chain name is now 'blockstack-server' to avoid conflicts with the new client. 2016-02-24 15:48:44 +00:00
Jude Nelson
766f8df56a Rename BlockstoreDB to BlockstackDB 2016-02-23 15:56:09 -05:00
Jude Nelson
29f7e2ef8c WIP: renaming blockstore to blockstack 2016-02-23 15:52:18 -05:00