Commit Graph

18 Commits

Author SHA1 Message Date
Jude Nelson
b66ff92afa improve name-transfer consensus hash quirk 2018-01-22 17:54:35 -05:00
Jude Nelson
f16515e613 document the name-transfer consensus hash quirk better, and fix a bug in the case of multiple consecutive name-transfers 2018-01-22 15:37:52 -05:00
Jude Nelson
38cf56fdcd remove dead code 2018-01-21 00:58:29 -05:00
Jude Nelson
fd91a265a0 attempt to fix name-transfer consensus hash quirk, and document real-world examples where it shows up 2018-01-20 16:17:34 -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
eaf1c6c9cd debug output for consensus hash quirk in name transfer 2018-01-17 14:18:44 -05:00
Jude Nelson
2705d59e1e remove all restore_delta() and snv_consensus_extras() code, and remove all dependence on blockstack_client from our operations. Also remove deprecated state_*() helpers that had been required for propagating ancilliary operation state to the database, i.e. in order to ensure that name operations' histories could be rewound. This is now handled automatically with a better database schema. 2018-01-12 18:33:04 -05:00
Jude Nelson
7145bcfee8 don't allow transfer if we're in the renewal grace period 2017-09-29 00:49:37 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Jude Nelson
eb06526aa4 use generic virtualchain multisig script check 2017-04-20 17:37:17 -04:00
Jude Nelson
707e6a9086 move SNV consensus restoration logic to the client 2016-10-24 03:22:47 -04:00
Jude Nelson
488d1ad1d3 do not allow a transfer sender to be a p2sh script until the multisig
support activates
2016-10-04 18:16:18 -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
692319b263 Merge sqlite3 into develop. Mostly refactoring: move operation
parsing, validation, and consensus logic into the individual operation's
.py file.
2016-09-02 00:20:24 -04:00
Jude Nelson
144d1dbe1d remove dead code 2016-06-14 11:31:04 -04:00
Jude Nelson
011576a168 WIP: move most nameop handling to the client 2016-06-09 03:17:15 -04: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