Commit Graph

23 Commits

Author SHA1 Message Date
Jude Nelson
a2366243ff don't take min_confirmatinos from kwargs; take it from the UTXO service client 2017-05-09 18:30:44 -04:00
Jude Nelson
7664857813 clean up imports 2017-04-27 19:30:58 -04:00
Jude Nelson
b4a0ee1127 clean up imports 2017-04-27 19:30:44 -04:00
Jude Nelson
45f44ffed0 use new virtualchain tx API 2017-04-20 17:43:36 -04:00
Jude Nelson
dbadfd6f65 extra assertions on sizes of buckets and discounts; use new virtualchain tx API 2017-04-20 17:43:16 -04:00
Jude Nelson
ec2209513d use blockstack's logger, not virtualchain's 2017-04-13 11:01:05 -04:00
Jude Nelson
7097850b1e document why we add +1 or +2 to the number of inputs in the fee estimation (answer: to account for extra inputs when the transaction gets subsidized) 2017-04-12 17:13:52 -04:00
Jude Nelson
fde745a0f7 implement get_fees(), clean up change amount calculation 2017-04-12 17:13:23 -04:00
Jude Nelson
b4b89615cb fill in get_fees(), clean up change address calculation 2017-04-12 17:13:05 -04:00
Jude Nelson
69bc93c29a fill in get_fees() 2017-04-12 17:12:55 -04:00
Jude Nelson
a49dfba9b6 fill in get_fees() 2017-04-12 17:12:45 -04:00
Jude Nelson
f777a890ac get off of virtualchain.BitcoinPublicKey wherever possible in favor of keylib 2017-03-30 14:59:14 -04:00
Jude Nelson
cf8af63c80 move off of pybitcoin for calculating change and making data outputs 2017-03-30 14:06:16 -04:00
Jude Nelson
1bcf100cba fix up debug output on get_fees(); log address on absence of UTXOs 2017-02-20 21:05:31 -05:00
Jude Nelson
e0065c9da1 log absence of UTXOs with address 2017-02-20 21:05:12 -05:00
Jude Nelson
cf3b4a0239 log absence of UTXOs with address 2017-02-20 21:05:01 -05:00
Jude Nelson
9ff4f6e04c log absence of UTXOs with address 2017-02-20 21:04:47 -05:00
Jude Nelson
2a9cba57ad default to MIN_TX_CONFIRMATIONS, not None 2017-02-12 15:04:08 -05:00
Jude Nelson
59eadc71da use min_payment_confs 2017-02-12 03:59:00 -05:00
Jude Nelson
ece700fa80 optionally don't include any fees or operational costs for getting size estimations 2017-02-10 17:40:25 -05:00
Jude Nelson
edba1e0961 optionally skip the pricing if we're going to get a size estimation on preorder 2017-02-10 17:40:04 -05:00
Jude Nelson
11a8879a12 print out the address if there are no UTXOs 2017-02-09 14:37:21 -05:00
Jude Nelson
e4455caf96 Repository re-organization 2017-01-17 11:16:19 -05:00