Commit Graph

270 Commits

Author SHA1 Message Date
Jude Nelson
36dc6e9945 include built-in indexed read/write logic 2017-06-15 11:26:40 -04:00
Jude Nelson
9668421e2a don't care about unsent txs in the queue 2017-06-15 11:26:04 -04:00
Jude Nelson
c97c096f61 debug return values 2017-06-15 11:25:49 -04:00
Jude Nelson
29ef0b801e use new built-in index handlers 2017-06-15 11:25:15 -04:00
Jude Nelson
95879e88c7 WIP: use the indexing system (DRIVER IS STILL NOT WORKING) 2017-06-15 11:24:59 -04:00
Jude Nelson
82ab59b1b2 get bucket, then create bucket 2017-06-15 11:24:47 -04:00
Jude Nelson
73f782a730 don't clean out queues automatically; let individual state-transition steps do this. 2017-06-15 11:24:22 -04:00
Jude Nelson
315405d28b remove unnecessary expiry logic 2017-06-15 11:23:54 -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
4a9143f610 refactor most of the fee estimation logic to generate the actual transaction we'll send, and use that as the basis of fee estimation (i.e. no more "rough estimates" and padding). Also, minimize the number of UTXOs that will be consumed in each transaction. 2017-06-15 11:02:56 -04:00
Jude Nelson
1582000327 sort UTXOs in the method that actually queries them 2017-06-15 11:02:33 -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
61206a71e7 no longer take tx_fee as an argument 2017-06-07 19:16:33 -04:00
Jude Nelson
a083cc8732 rework most fee estimation logic to calculate the tx fee by multiplying the fee per byte against the tx length, and in doing so, cut down on the bitcoind RPCs we make and enable us to more easily select UTXOs to use to pay for transactions 2017-06-07 19:14:59 -04:00
Jude Nelson
95369e9f8d sort UTXOs by value in decreasing order; select UTXOs to sum to an amount by decreasing value; add method to get tx fee per byte 2017-06-07 19:11:21 -04:00
Aaron Blankstein
87ba3b86d9 adding error messages to registrar' response to blockstack info 2017-06-06 15:06:04 -04:00
Jude Nelson
bbb4a5b3fe Merge branch 'rc-0.14.2-portal-utxo-fix' into rc-0.14.2-portal 2017-06-05 19:55:32 -04:00
Jude Nelson
a8d84d5a5b only remove expired name-preorders. Do not do so for anything else; the registrar handles it on its own. 2017-06-01 19:41:31 -04:00
Jude Nelson
0cc98412b9 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-05-30 19:22:19 -04:00
Jude Nelson
445af537c5 don't require an API token to run 2017-05-30 19:20:26 -04:00
Jude Nelson
d9682c232c only cache the manifest URL if it was looked up 2017-05-30 19:20:09 -04:00
Jude Nelson
4121eee2a3 elaborate on how blockstack storage drivers are expected to behave regarding loading data from other users' storage 2017-05-30 19:19:36 -04:00
Jude Nelson
0d6c44c9ff Merge pull request #442 from vsund/fix/skeleton-driver
Fix minor flaws in driver skeleton
2017-05-30 10:35:01 -05:00
Valentin Sundermann
6662e89ca4 Update log name of driver skeleton 2017-05-30 17:30:10 +02:00
Jude Nelson
5d4ff04886 versioned index pages 2017-05-24 15:17:13 -04:00
Jude Nelson
246610360f expand storage documentation 2017-05-24 13:58:18 -04:00
Valentin Sundermann
36cf089250 Add missing return 2017-05-24 19:57:31 +02:00
Valentin Sundermann
b10253802a Fix typo 2017-05-24 19:56:56 +02:00
Jude Nelson
540eac314c sync with new driver API; make Dropbox indexed 2017-05-23 16:48:40 -04:00
Jude Nelson
1f9120b554 make test driver indexed 2017-05-23 16:48:19 -04:00
Jude Nelson
29de5a0330 indexed storage for Dropbox-like systems 2017-05-23 16:48:07 -04:00
Jude Nelson
7e8a34ff7b move ScatterGather to utils 2017-05-17 22:05:32 -04:00
Jude Nelson
f5ecf9b148 experimental support for building up a data_id --> URL index within a storage provider, so we can share files publicly and access them without API keys 2017-05-17 22:05:03 -04:00
Jude Nelson
2ec5755a8d reactive multithread safety checks 2017-05-17 00:19:09 -04:00
Jude Nelson
c035cff312 remove errant comment 2017-05-17 00:18:52 -04:00
Jude Nelson
04b781abe0 consolidate scratch space code 2017-05-17 00:18:40 -04:00
Jude Nelson
21b1132eb9 move scratch-space setup/teardown to common 2017-05-17 00:18:25 -04:00
Jude Nelson
065e19618f add support for microsoft onedrive 2017-05-11 18:23:39 -04:00
Jude Nelson
5b16664d59 harden a few cases with exception handling, and lazily instantiate the driver session 2017-05-11 18:23:17 -04:00
Jude Nelson
b599de652c return True/False on put_chunk 2017-05-11 18:23:02 -04:00
Jude Nelson
64387268a8 test data names with quotes in them 2017-05-11 13:57:07 -04:00
Jude Nelson
0d9be8f0b7 use compression logic from common 2017-05-11 13:55:56 -04:00
Jude Nelson
b268aa1ad6 use compression logic from common 2017-05-11 13:55:46 -04:00
Jude Nelson
5a06939a1e move compress/decompress logic to common 2017-05-11 13:55:35 -04:00
Jude Nelson
83fad2d37b add Google Drive support 2017-05-11 13:54:36 -04:00
Jude Nelson
f4dc751841 Add Dropbox support for storage 2017-05-10 15:53:48 -04:00
Jude Nelson
cd1c6e04ca include min_confirmations in the UTXO service drivers 2017-05-09 18:29:48 -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
daf0b37c41 pass along minimum confirmations from UTXO service client when doing sanity checks 2017-05-09 18:28:57 -04:00
Jude Nelson
eb5b63bc45 honor min_confirmations in the UTXO service client instance (if no min_confirmations is given) 2017-05-09 18:28:33 -04:00