Commit Graph

27 Commits

Author SHA1 Message Date
Jude Nelson
4e579bdbed fix debug output on burn fee 2017-09-29 18:09:58 -04:00
Jude Nelson
5842fed87a op_fee can be None, if it is not given 2017-09-29 00:49:38 -04:00
Jude Nelson
6de96721b0 don't clear out sender_pubkey 2017-09-29 00:49:37 -04:00
Jude Nelson
0451d81d92 log renewal fee 2017-09-29 00:49:36 -04:00
Jude Nelson
ba6379df18 After F-day 2017, a NAME_REGISTRATION and NAME_RENEWAL may correspond to a namespace that requires the user pay the namespace creator (a version-2 namespace). Enforce this at the consensus level---a NAME_REGISTRATION and NAME_RENEWAL are only valid in a version-2 namespace if the user paid the namespace creator 2017-09-29 00:49:35 -04:00
Jude Nelson
28b2e49c37 allow register to include a zone file hash; allow renew to include a zone file hash and a new recipient. 2017-09-29 00:49:26 -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
23e8e69009 TODO notes 2017-06-15 11:19:07 -04:00
Jude Nelson
9c12126d95 use generic virtualchain multisig script check 2017-04-20 17:37:02 -04:00
Jude Nelson
1a07180041 remove dead code 2017-04-17 15:38:59 -04:00
Jude Nelson
22a84cbb78 track 'last_create_op' in the db 2016-10-24 03:22:28 -04:00
Jude Nelson
6a2639bc49 do not allow a name to be registered to a p2sh script until the multisig
support activates (this is to keep 0.14 consistent with 0.13 until then)
2016-10-04 18:16:50 -04:00
Jude Nelson
46abc13e9a improve error-path log messages a bit 2016-09-28 20:26:18 -04:00
Jude Nelson
22bdb8045c whitespace 2016-09-25 23:47:38 -04:00
Jude Nelson
c4cf324e1b register/renew can mutate op_fee, since the epoch can change between
preorder/register or register/renew.  Also, when considering name
prices, use the preorder's block number (i.e. the epoch the preorder
occurred in determines the price to pay, not the register).  For
renewals, however, use the current block height to determine the fee.
2016-09-12 17:59:35 -04:00
Jude Nelson
8e7c78f3d3 remove dead code 2016-09-09 16:55:30 -04:00
Jude Nelson
c6c8c9a4f9 API sync 2016-09-09 11:20:16 -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
fefce0537d log which code path we take 2016-09-05 20:46:24 -04:00
Jude Nelson
b9d46bf0e4 remove dead code; better debug statement 2016-09-04 17:22:53 -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
daac6d43fa BLOCKSTORE --> BLOCKSTACK 2016-06-06 17:44:33 -04:00
Jude Nelson
ee3e97e06f Use new virtualchain log facility 2016-05-11 18:03:21 -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