Commit Graph

30 Commits

Author SHA1 Message Date
Aaron Blankstein
3d36e74f6c Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3 2017-07-05 11:18:23 -04:00
Aaron Blankstein
949ee92091 merge bug 2017-07-05 11:16:36 -04:00
Aaron Blankstein
d48a6b6ee5 adding missing import, found a totally undefined variable with pylint in the process, marked that branch statement as unimplemented. 2017-07-05 11:08:16 -04:00
Aaron Blankstein
86aa5599cb merging changes in safety.py 2017-07-05 10:29:22 -04:00
Aaron Blankstein
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Jean-Paul Calderone
ecba23b018 Add missing `traceback` import
This fixes error reporting when an RPC call fails.
2017-06-20 09:14:33 -04:00
Jean-Paul Calderone
2be5290639 Add missing is_b40 import
This fixes ``check_valid_name`` (and therefore just about all CLI
operations) when used with a name containing non-base40 bytes.
2017-06-20 09:12:10 -04:00
Jean-Paul Calderone
f519f822b1 remove a number of unused imports and locals 2017-06-20 09:03:20 -04:00
Jean-Paul Calderone
9fb735880f Eliminate wildcard imports
This enables static checking with pyflakes
2017-06-20 09:01:36 -04:00
Jude Nelson
e22e0de3fd Merge remote-tracking branch 'origin/rc-0.14.2-portal' into rc-0.14.2 2017-06-16 18:43:40 -04:00
Jude Nelson
99afdb165d possible that there are not UTXOs 2017-06-16 18:40:07 -04:00
Jude Nelson
c5c0b57575 Merge remote-tracking branch 'origin/rc-0.14.2-portal' into rc-0.14.2 2017-06-15 11:35:37 -04:00
Jude Nelson
e6fcd2ee46 Calculate the set of UTXOs that will be used over a sequence of transactions, including the ones that will be generated by transactions within the sequence. Do not assume that the whole set of UTXOs will be used by each transaction. 2017-06-15 11:04:14 -04:00
Jude Nelson
80f274ad9d calculate tx fees by multiplying fee per byte against tx length 2017-06-07 19:16:53 -04:00
Jude Nelson
7e8a34ff7b move ScatterGather to utils 2017-05-17 22:05:32 -04:00
Jude Nelson
2ec5755a8d reactive multithread safety checks 2017-05-17 00:19:09 -04:00
Jude Nelson
ef05e280de pass along minimum confirmations from UTXO service client when doing sanity checks 2017-05-09 18:29:22 -04:00
Jude Nelson
abc33ba2ae clean up imports; fix bug with is_singlesig now living in virtualchain 2017-04-27 19:27:34 -04:00
Jude Nelson
3f0a858fc2 use new virtualchain address methods 2017-04-20 17:41:49 -04:00
Jude Nelson
61f6052938 fix bugs in name import safety checks (discovered in testing) 2017-04-13 10:59:58 -04:00
Jude Nelson
b7bdb1aa97 expand the safety checker to include namespace_preorder, namespace_reveal, namespace_ready, and name_import. Also, expand the fee calculations to include fee estimates for these operations. 2017-04-12 17:11:54 -04:00
Jude Nelson
c6046a07f6 need b40 2017-03-30 11:59:25 -04:00
Jude Nelson
90f1d9a011 fix documentation typo 2017-03-21 11:34:36 -04:00
Jude Nelson
215f6eb2d9 re-enable single-threaded safety checks (for now) 2017-03-16 19:40:50 -04:00
Jude Nelson
165b5d13d4 fix task reported; fix error output 2017-03-02 12:17:41 -05:00
Jude Nelson
2bf6fbeee4 propagate specific operation-sanity-check error messages 2017-02-27 16:43:04 -05:00
Jude Nelson
895fc95a4a handle connection errors correctly, and tell the user to try again with --debug 2017-02-27 09:35:59 -05:00
Jude Nelson
6c94fbe368 in all non-fatal error paths, return the set of sanity check results, the balance, name cost, and tx fee (even if some of the required checks failed) 2017-02-23 17:22:50 -05:00
Jude Nelson
b4ba1b48e0 fix error string 2017-02-21 12:35:00 -05:00
Jude Nelson
86a4aa6f86 consolidate all nameop-sanity-check logic into one place. Make it easy to use and hard to use improperly by giving it a declarative interface. Make it fast by running sanity-checks in parallel. 2017-02-20 20:55:23 -05:00