Jude Nelson
4ba8e2dc25
'bearer' for api password; add method to generate but not broadcast signed txs
2017-03-27 18:10:28 -04:00
Jude Nelson
eaaf6f5c7c
moved broadcast_tx()
2017-03-27 18:10:13 -04:00
Jude Nelson
60c1e910dd
remove pybitcoin dependency
2017-03-27 18:10:03 -04:00
Jude Nelson
cdbe6b0089
remove pybitcoin dependency
2017-03-27 18:09:53 -04:00
Jude Nelson
c84ba60285
require 'bearer' for API password ( #351 ); add UTXO endpoints ( #362 )
2017-03-27 18:09:26 -04:00
Jude Nelson
0efdf19e36
send API password as 'bearer' ( #351 )
2017-03-27 18:08:54 -04:00
Jude Nelson
803734137a
switch default UTXO providers to the blockstack explorer
2017-03-27 18:08:32 -04:00
Jude Nelson
dffc93ef22
some code clean up
2017-03-27 18:08:25 -04:00
Jude Nelson
042266ec5a
remove old mock_utxo code; import utxo functionality from pybitcoin; add support for blockstack_explorer utxo provider
2017-03-27 18:07:56 -04:00
Jude Nelson
2206c74c8d
remove pybitcoin dependency
2017-03-27 18:07:44 -04:00
Jude Nelson
3641e89f9b
symbol imports
2017-03-27 18:07:31 -04:00
Jude Nelson
b397502c68
clean up imports; move broadcast_tx() to this module
2017-03-27 18:07:16 -04:00
Jude Nelson
9a49665d17
mask invalid or improperly-formated token errors
2017-03-27 18:06:57 -04:00
Jude Nelson
0800d0d98a
move broadcast_tx
2017-03-27 18:06:48 -04:00
Jude Nelson
2e8ddd929c
add blockstack explorer utxo client ( #297 )
2017-03-27 18:06:31 -04:00
Jude Nelson
805e2e1d2f
import blockcypher utxo client from pybitcoin
2017-03-27 18:06:20 -04:00
Jude Nelson
fa74fbf9d4
import blockchain.info utxo provider client from pybitcoin
2017-03-27 18:06:09 -04:00
Jude Nelson
39fe76a347
import generic blockchain client from pybitcoin
2017-03-27 18:05:59 -04:00
Jude Nelson
e44ccd9bb6
import bitcoind utxo provider from pybitcoin
2017-03-27 18:05:50 -04:00
Jude Nelson
9b0cc8fa2f
test UTXO endpoint
2017-03-27 18:05:41 -04:00
Jude Nelson
58ce4ba8cc
clean up imports
2017-03-27 15:12:23 -04:00
Jude Nelson
251d61fe13
remove pybitcoin import
2017-03-27 15:12:12 -04:00
Jude Nelson
1ef16e5e28
remove pybitcoin import
2017-03-27 15:12:03 -04:00
Jude Nelson
2c2353b10d
remove pybitcoin import
2017-03-27 15:11:53 -04:00
Jude Nelson
5f28bdeffe
test datastores across multiple services, where one can fail during reads or writes. make sure that our invariants hold
2017-03-23 18:59:24 -04:00
Jude Nelson
47a42d16a5
test datastores across multiple services
2017-03-23 18:59:09 -04:00
Jude Nelson
cabe0e626e
test driver
2017-03-23 18:59:01 -04:00
Jude Nelson
00f7422fcc
make sure duplicate mkdir and rmdir fail appropriately
2017-03-23 18:56:13 -04:00
Jude Nelson
f974dcaf98
clean up 'test' storage driver between test runs
2017-03-23 18:55:57 -04:00
Jude Nelson
3fb9203476
remove confusing log msg
2017-03-23 18:55:47 -04:00
Jude Nelson
f2b941c475
accept create= and exist= qs args
2017-03-23 18:55:35 -04:00
Jude Nelson
cd6232b147
enforce create/exists requirements for inodes; fix bugs found in testing with service-level faults
2017-03-23 18:55:15 -04:00
Jude Nelson
aad5916326
datastore operations that fail due to a driver error should return HTTP 200 but with a detailed JSON error code.
2017-03-22 23:30:01 -04:00
Jude Nelson
a0232a395f
datastore operations return errno
2017-03-22 23:29:49 -04:00
Jude Nelson
4d78bd7734
tolerate older outputs from blockstack_client
2017-03-22 23:29:37 -04:00
Jude Nelson
5192e8da4c
Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2
2017-03-22 15:44:10 -04:00
Jude Nelson
262f34634c
cleanup
2017-03-22 15:41:03 -04:00
Jude Nelson
be6ddac47a
root tombstones are required
2017-03-22 15:40:50 -04:00
Jude Nelson
64c22255fd
bugfixes found in testing
2017-03-22 15:40:34 -04:00
Jude Nelson
e14adbb87c
bugfixes in the Python client found intesting
2017-03-22 15:40:18 -04:00
Jude Nelson
b9ddd461b5
bugfixes in testing
2017-03-22 15:40:03 -04:00
Jude Nelson
2968eb9447
add setenv helper to control the API server envars
2017-03-22 15:01:15 -04:00
Jude Nelson
576bc21a2c
make sure all required drivers succeed on put/delete; make sure we verify both compressed and uncompressed pubkey hashes when given a pubkey has to use to verify data
2017-03-22 15:00:43 -04:00
Jude Nelson
7cb38ef42e
take root tombstones externally from signatures
2017-03-22 14:59:42 -04:00
Jude Nelson
1dc1e7e057
take the signed datastore information from callers that want to mutate the datastore; take device IDs as hints on where to look for inode consistency information; stop and get the API server status from the same process
2017-03-22 14:59:08 -04:00
Jude Nelson
2bb9a49051
only start-up the daemon; don't do status or stopping
2017-03-22 14:58:51 -04:00
Jude Nelson
5ac2853308
fix a few bugs and take extra message verification steps:
...
* when replicating an inode, replicate each (inode header, payload) pair instead of all headers and then all payloads (makes it easier to do a successful partial write)
* do not assume that we know the device IDs; allow the caller to supply them
* sign and verify the datastore record on datastore-mutate operations
* verify that all tombstones' device IDs cover the caller-given set of device IDs
2017-03-22 14:57:04 -04:00
Jude Nelson
aeec60ce73
take device_ids on the CLI interface (separate from the config file device IDs) in order to support external clients
2017-03-22 14:56:18 -04:00
Jude Nelson
57c83cf6a8
add authorization header to CORS
2017-03-21 17:05:27 -04:00
Jude Nelson
cf70a9b8f6
test 0.14 legacy wallets, specifically
2017-03-21 11:40:45 -04:00