Commit Graph

8176 Commits

Author SHA1 Message Date
Jude Nelson
f59369f4c3 an account address pattern can be a "special" address, and the genesis block as it will be loaded will contain b58 addresses, not c32 addresses 2018-09-14 13:37:23 -04:00
Jude Nelson
015179372b expand expected address length to accomodate "special addresses" like those that are unallocated or not distributed 2018-09-14 13:35:22 -04:00
Jude Nelson
c90b2803db add fake treasury and unallocated genesis block entries 2018-09-13 16:20:43 -04:00
Jude Nelson
c0859d7bb1 propagating api change -- query account history by page, not block range 2018-09-13 16:20:27 -04:00
Jude Nelson
591a42c787 do not require a block range when getting an account's history; also, update the genesis block ingestion code to allow an arbitrary string to be an address *so long as it cannot receive tokens*. This is used to add "owned-by-contract" token allocations 2018-09-13 16:19:30 -04:00
Jude Nelson
d4bfb3fe85 sync CLI out-call for getting a name's history with the new API 2018-09-13 16:19:18 -04:00
Jude Nelson
51fcc92f4f use get_name_history_page for getting pages of a name's history. do not rely on start_block or end_block, since we have the power to paginate directly 2018-09-13 16:19:10 -04:00
Jude Nelson
0a6376a5ff use check_account_address() for account addresses; stop coercing mainnet addresses for on-chain name records 2018-09-13 16:18:51 -04:00
Jude Nelson
442e26a4be take only a page number for querying account history 2018-09-13 16:18:26 -04:00
Jude Nelson
2f025ef303 fix a race condition that would cause the node to deadlock if it could not bind on a particular port when starting up; also, simplify the name history query interface so it only requires a page 2018-09-13 16:18:08 -04:00
Jude Nelson
9becfef5b9 use check_account_address() for account addresses; change API for getting account histories so we can query only by page (not the block range) 2018-09-13 16:16:14 -04:00
Jude Nelson
9960098beb an "account address" is a b58 address, or "treasury", or "unallocated" 2018-09-13 16:15:47 -04:00
Aaron Blankstein
65d294ef5a add environment variable for overriding atlas_seed_peers setting (BLOCKSTACK_ATLAS_SEEDS) 2018-09-13 11:09:29 -04:00
wileyj
5bb0ed9bba Updating CMD per dockerfile docs to use commas 2018-09-13 11:09:22 -04:00
Aaron Blankstein
92e727c1ec fix dockerfile 2018-09-13 11:09:15 -04:00
Aaron Blankstein
79632e6487 Copy the fixtures during docker build
copying during startup causes it to overwrite any existing files if they are mounted in
2018-09-13 11:09:10 -04:00
Aaron Blankstein
d01d21b82d try a set of keyservers instead of just one (this led to occassional build failures) 2018-09-13 11:09:01 -04:00
Aaron Blankstein
1e82f1c6c6 bind api_host to 0.0.0.0 2018-09-13 11:08:52 -04:00
Aaron Blankstein
4abd77622b update dockerfile to bionic, remove dev packages 2018-09-13 11:08:33 -04:00
Jude Nelson
2dc98673b2 Merge pull request #851 from blockstack/feature/token-v1+local-testnet
Add scenario for stripped down testnet
2018-09-11 10:42:42 -04:00
Jude Nelson
dad8583f62 update subdomain test to reflect the latest /list api endpoint 2018-08-28 17:02:19 -04:00
Jude Nelson
33c5b35919 unix time, not page number 2018-08-27 18:01:28 -04:00
Jude Nelson
bd3f1c7099 add a test for listing subdomains 2018-08-27 14:41:35 -04:00
Aaron Blankstein
1b9d339ea4 testnet scenario with subdomain registrar, gaia removed. docker file for building and running. env vars to optionally disable startup of gaia hub, tx broadcaster, registrar check 2018-08-23 17:47:35 -05:00
Jude Nelson
59324365e9 update documentation for installing blockstack-browser to not depend on legacy mechanisms 2018-08-23 16:14:29 -04:00
Jude Nelson
1fe1bba224 make API endpoint match master better, except where appropriate (e.g. return 400 instead of 401 and 502 instead of 500 in a few cases) 2018-08-23 16:14:28 -04:00
Jude Nelson
3d8378de75 use the right public key that matches the owner address 2018-08-23 16:14:27 -04:00
Jude Nelson
057d83b9ea store fast-sync snapshot to ~/.blockstack-server 2018-08-23 16:14:26 -04:00
Jude Nelson
a58d5d6f75 add API call comparison tool 2018-08-23 16:14:25 -04:00
Jude Nelson
fb2fc84f95 update scripts to use new blockstack client API under the new deployment 2018-08-23 16:14:24 -04:00
Jude Nelson
00edf85389 Update the deployment scripts for Blockstack Core, the API server, and the search endpoint
* no more ops script.  All docker images self-initialize
* All docker images have a tini init system
* Updated documentation
2018-08-23 16:14:20 -04:00
Aaron Blankstein
5277bfcf71 consistent TLD treatment in search 2018-08-23 16:12:23 -04:00
moxiegirl
93364351be Removing CLI section
Discussed withe Aaron and he'd prefer to remove this for now until Jude finishes his update to the CLI.

Signed-off-by: moxiegirl <mary@blockstack.com>
2018-08-23 16:12:19 -04:00
Jude Nelson
78afd1ee8b version bumps and expose all ports 2018-08-23 16:10:34 -04:00
Jude Nelson
db9ed57837 need 6264 and 6270 2018-08-23 16:10:33 -04:00
Jude Nelson
584c4ba3fe fix up api docker file 2018-08-23 16:10:32 -04:00
Jude Nelson
e71de8f256 update readme 2018-08-23 16:09:50 -04:00
Jude Nelson
4b2d1df4fe remove deprecated scripts 2018-08-23 16:09:49 -04:00
Jude Nelson
a938073c73 remove dead code 2018-08-15 16:54:42 -04:00
Jude Nelson
12f64b9c07 add usage documentation 2018-08-15 16:54:30 -04:00
Jude Nelson
f56c8527a6 add code to restore a gaia bucket 2018-08-15 16:53:51 -04:00
Jude Nelson
417492dd45 expand gaia test to cover dumping and restoring buckets, and testing with /'s in the file names 2018-08-15 16:53:21 -04:00
Jude Nelson
c08a504b05 test creating and altering profiles that have a legacy profile path (e.g. 0/profile.json) 2018-08-15 16:52:57 -04:00
Jude Nelson
e128aa4c5c jsontokens 2.x 2018-08-13 17:36:18 -04:00
Jude Nelson
c895b36862 test the case where a subdomain is announced and indexed out-of-order by a duplicate zone file (i.e. bar.foo1.test seq=1, bar.foo1.test seq=0, bar.foo1.test seq=1). Verify that a zone file that was already processed for subdomains will be re-processed if its hash is re-announced 2018-08-13 16:02:20 -04:00
Jude Nelson
b8caeb2044 serialize all calls to enqueue zone files 2018-08-13 16:02:10 -04:00
Jude Nelson
f1bf6ee5ea dead comment 2018-08-13 16:02:04 -04:00
Jude Nelson
25491164ed when synchronizing the atlasdb with the namedb, call the storage callback for each zone file we already have. That way, if a zone file hash is re-announced, it will be processed by the storage callback again (as desired) 2018-08-13 16:01:57 -04:00
Jude Nelson
c99e7947f6 api tweak: pass the server state to the virtualchain hooks (including the atlas state) 2018-08-13 16:01:51 -04:00
Jude Nelson
784766ff68 update a few bugs in the readme 2018-08-13 16:01:44 -04:00