Commit Graph

1147 Commits

Author SHA1 Message Date
Jude Nelson
33e0cab6a5 convert c32 to b58 addresses automatically 2018-10-21 02:29:39 -04:00
Jude Nelson
4bb0634f24 typo: wrong variable 2018-10-21 02:27:18 -04:00
Jude Nelson
ba4aab3735 be a bit more lienient about gpg output formatting 2018-10-21 02:25:42 -04:00
Jude Nelson
9cffdb26bb add code to audit the genesis block 2018-10-21 02:18:35 -04:00
Jude Nelson
98396cf469 the genesis block will encode all stage it went through, the signing keys, and the final stage (as the actual "genesis block" to be loaded into the db) 2018-10-21 02:16:35 -04:00
Jude Nelson
75b8d60d16 update genesis block schema 2018-10-21 02:16:10 -04:00
Jude Nelson
756e71529b update genesis block doc 2018-10-21 02:16:01 -04:00
Jude Nelson
8ba60ebac6 add code to do one-time instantiation of the genesis block, and all its stages 2018-10-21 02:12:29 -04:00
Jude Nelson
47e5a62a56 add commands to audit the genesis block, and to load an alternative one from disk 2018-10-21 02:11:43 -04:00
Jude Nelson
caaee7ce8d restore feature/token-v1 virtualchain_hooks 2018-10-18 16:04:08 -04:00
Jude Nelson
d9c4628e96 restore nameset __init__.py from feature/token-v1 2018-10-18 15:31:57 -04:00
Jude Nelson
8cf1580e11 Merge branch 'master' into develop 2018-10-18 15:28:09 -04:00
Jude Nelson
d9c89982dd fix a few bugs in /v1/dids 2018-10-17 18:19:31 -04:00
Jude Nelson
961c68c5e9 add /v1/dids 2018-10-17 18:15:21 -04:00
Jude Nelson
6ac9fc27d3 better validation of JWTs on DID resolution 2018-10-17 18:15:08 -04:00
Jude Nelson
a7fbbb0da6 return a name's DID 2018-10-17 18:14:57 -04:00
Jude Nelson
1d98b7116e version 19.0.2.0 2018-10-17 09:34:55 -04:00
Jude Nelson
5aaef0ca88 snapshot the subdomain db queue as well as the subdomain. This fixes a bug whereby a fast-sync'ed node can lose subdomain records because it doesn't know to process a recently-discovered zone file. This happens when a snapshot is taken from a node that just discovered a zone file, but has not yet processed it. This patch fixes this by also including the subdomain DB queue, which incluedes the list of recently-discovered but unprocessed zone files in the snapshot. 2018-10-17 09:27:10 -04:00
Jude Nelson
0db25efda2 version bump 2018-10-16 16:50:51 -04:00
Jude Nelson
9f04404eb3 add subdomain DB query for getting subdomain ops processed in a given tx 2018-10-16 11:30:15 -04:00
Jude Nelson
b158bafd98 add definitions for rows in the subdomain table so we can return and validate historic subdomain operations 2018-10-16 11:29:51 -04:00
Jude Nelson
cb2ec5407b add GET /v1/subdomains/{:txid} to get all subdomain operations processed in a given transaction 2018-10-16 11:29:33 -04:00
Jude Nelson
ad76a3d3da add client method to get all subdomain records processed at a given txid 2018-10-16 11:29:13 -04:00
Jude Nelson
0ba9dbdbe0 add rpc_get_subdomain_ops_at_txid() RPC call 2018-10-16 11:28:42 -04:00
Jude Nelson
7e7e904503 remove dead code 2018-10-15 18:58:54 -04:00
Jude Nelson
30b4bd8975 log.warning 2018-10-15 18:43:42 -04:00
Jude Nelson
0ea153a198 re-add back all token opcode data 2018-10-15 18:43:33 -04:00
Jude Nelson
f9ee9d663b Merge branch 'feature/token-v1' into develop 2018-10-15 18:42:44 -04:00
Jude Nelson
9d19ec49e7 version 19.0.0 2018-10-15 17:20:19 -04:00
Jude Nelson
6fd1da39de new fast-sync DNS name 2018-10-15 17:10:49 -04:00
Jude Nelson
ae78ad733f fast-sync key rotation 2018-10-12 16:37:13 -04:00
Jude Nelson
b6aad35347 don't even try to decode the zone file on GET /v1/names. It's not necessary. 2018-10-11 17:39:02 -04:00
Jude Nelson
3e95bf3b1b handle non-standard zonefiles 2018-10-11 17:38:56 -04:00
Jude Nelson
69e42a5699 pattern= 2018-10-11 17:38:51 -04:00
Jude Nelson
270447f0b0 de-lint 2018-10-11 17:38:46 -04:00
Jude Nelson
2ac5252be2 remove unneeded format() 2018-10-11 17:38:41 -04:00
Jude Nelson
1606a215ed fall back to 127.0.0.1 if getaddrinfo fails 2018-10-11 17:37:41 -04:00
Jude Nelson
0524a21836 allow using getaddrinfo() to get the Atlas IP address. Pass "<stun>" to request a STUN-determined IP address; pass "<host>" for getaddrinfo(); pass a normal IP address or DNS name for a pre-configured address (affects "atlas_hostname" and "BLOCKSTACK_ATLAS_HOSTNAME") 2018-10-11 17:37:24 -04:00
Jude Nelson
f5e6bd15f7 don't even try to decode the zone file on GET /v1/names. It's not necessary. 2018-10-10 13:58:45 -04:00
Jude Nelson
bfb85516bc handle non-standard zonefiles 2018-10-10 13:53:43 -04:00
Jude Nelson
9e29316970 pattern= 2018-10-10 13:46:54 -04:00
Jude Nelson
21a575e958 de-lint 2018-10-10 13:04:03 -04:00
Jude Nelson
930a73aa89 remove unneeded format() 2018-10-10 13:03:51 -04:00
Jude Nelson
4550ee3df7 fall back to 127.0.0.1 if getaddrinfo fails 2018-10-08 13:24:34 -04:00
Jude Nelson
520d3814ce allow using getaddrinfo() to get the Atlas IP address. Pass "<stun>" to request a STUN-determined IP address; pass "<host>" for getaddrinfo(); pass a normal IP address or DNS name for a pre-configured address (affects "atlas_hostname" and "BLOCKSTACK_ATLAS_HOSTNAME") 2018-10-08 11:54:31 -04:00
Jude Nelson
5aa3689121 merge /v1/prices and /v2/prices -- make the /v2 endpoint return the same information expected by the /v1 endpoint 2018-10-02 23:40:09 -04:00
Jude Nelson
84093a3224 account history no longer takes startblock or endblock 2018-10-02 23:40:00 -04:00
Jude Nelson
3768dc115b set blockstack atlas hostname (BLOCKSTACK_ATLAS_HOSTNAME) as an environ 2018-10-02 23:39:38 -04:00
Jude Nelson
8c01542272 f-day 2018 is now october 22 2018-10-02 23:39:30 -04:00
Jude Nelson
8f944ddd33 merge /v1/prices and /v2/prices -- make the /v2 endpoint return the same information expected by the /v1 endpoint 2018-10-02 23:36:46 -04:00