Commit Graph

1038 Commits

Author SHA1 Message Date
Jude Nelson
669bf1396b when verifying mutable data, simply take a list of public keys and addresses to try 2017-07-05 17:31:09 -04:00
Jude Nelson
9adf4c84c3 fix bugs in account manipulation discovered while testing 2017-07-05 17:30:52 -04:00
Jude Nelson
5782827ece get_mutable() can take a list of public keys, a list of public key hashes, and a device -> public key mapping 2017-07-05 17:30:30 -04:00
Jude Nelson
16fa6811b6 receive and store token files, not profiles 2017-07-05 17:30:14 -04:00
Jude Nelson
2ba176e0c4 name data is a token file, not a profile 2017-07-05 17:30:04 -04:00
Jude Nelson
167292adb2 we register with token files now, not profiles 2017-07-05 17:29:54 -04:00
Jude Nelson
6c33a7a309 sync API with get_mutable() 2017-07-05 17:29:44 -04:00
Jude Nelson
463825dbe8 more work on incorporating token files: allow lookup to fetch both profiles and token files; allow us to list device IDs in the token file; extract public keys and device IDs from the token file when loading datastore; flesh out migration logic to convert profiles into token files, and more 2017-07-05 17:27:35 -04:00
Aaron Blankstein
37d1f4e727 Merge branch 'rc-0.14.3' into api-rc-0.14.3 2017-07-05 11:24:08 -04:00
Aaron Blankstein
3d36e74f6c Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3 2017-07-05 11:18:23 -04:00
Aaron Blankstein
949ee92091 merge bug 2017-07-05 11:16:36 -04:00
Aaron Blankstein
d48a6b6ee5 adding missing import, found a totally undefined variable with pylint in the process, marked that branch statement as unimplemented. 2017-07-05 11:08:16 -04:00
Aaron Blankstein
86aa5599cb merging changes in safety.py 2017-07-05 10:29:22 -04:00
Aaron Blankstein
c8a12d4edb rename flag 'aggressive_registration' -> 'unsafe' + added information to the api doc 2017-07-05 10:10:36 -04:00
Jude Nelson
9cc2366601 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-04 23:39:10 -04:00
Jude Nelson
8471f6414e notes on what we're going to have to change in order to support token file replication 2017-07-04 23:38:58 -04:00
Jude Nelson
3a3a0a005b always return the raw zone file and name record when looking up a zone file 2017-07-04 23:37:04 -04:00
Jude Nelson
b6cab442f8 version bump 2017-07-04 23:36:44 -04:00
Jude Nelson
bf615e7b16 no longer serialize profiles (handled by token file logic); no longer accept structured data for storing data (so no serialization required) 2017-07-04 23:36:16 -04:00
Jude Nelson
999feaacfd no relative imports 2017-07-04 23:35:58 -04:00
Jude Nelson
4e1f0a2bca fix up token file spec as functional tests revealed bugs 2017-07-04 23:35:41 -04:00
Jude Nelson
1c40261308 patch API endpoint to use new, slightly-modified zone file API 2017-07-04 23:35:25 -04:00
Jude Nelson
1fe457c765 remove most profile loading/storing logic, since this will be handled by the token file 2017-07-04 23:35:00 -04:00
Jude Nelson
2aaf949026 no relative imports 2017-07-04 23:34:49 -04:00
Jude Nelson
8256cf1b43 add methods to extract various private keys from the per-device keychain 2017-07-04 23:34:29 -04:00
Jude Nelson
d23325cb76 accelerate datastore writes by storing headers and payloads in parallel, and deleting in parallel. keep a persistent "journal" of deletions-in-progress, so we can mask partial delete failures and give clients recovery hints by indicating whether or not a child inode actually exists (i.e. whether or not it partially deleted, but not completely deleted) 2017-07-04 23:32:21 -04:00
Jude Nelson
e08cc6e85e don't use relative imports 2017-07-04 23:32:00 -04:00
Jude Nelson
6e063776d2 don't use relative imports 2017-07-04 23:31:49 -04:00
Jude Nelson
003df35a4a don't use relative imports in UTXO drivers 2017-07-04 23:31:36 -04:00
Jude Nelson
e22457949b use a different index bucket name in regtest mode 2017-07-04 23:31:18 -04:00
Jude Nelson
f39a0118b8 require data_privkey (will be the signing key in a token file for a name) 2017-07-04 23:30:58 -04:00
Jude Nelson
c4c9e029a9 patch profile-dependent methods and data-key-dependent methods to use the token file for data formatting and key selection 2017-07-04 23:30:18 -04:00
Jude Nelson
e6c3878f36 initial stab at a token file implementation, which links a name's profile, device-specific keys, name, and app/device keys 2017-07-04 23:29:40 -04:00
Aaron Blankstein
b1004dbb39 better registrar error messages (added to the return of info command) 2017-07-04 17:56:29 -04:00
Aaron Blankstein
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Aaron Blankstein
3f73bae398 propagate min payment confs setting from the PREORDER op to REG/UPDATE 2017-07-04 14:46:42 -04:00
Aaron Blankstein
86b6f9e9cb Merge branch 'rc-0.14.3' into rc-0.14.3-low-conf-register 2017-07-04 13:39:56 -04:00
Aaron Blankstein
8efebc349f two small bugfixes -- one, add migration path for wallet 0.14.2->0.14.3 (it just whitelists the upgrade, as the format did not change) -- two, when transfer_address is '' from cli, set addr to None 2017-07-04 13:39:38 -04:00
Aaron Blankstein
59939f838a forward aggressiveness on RPCs 2017-07-04 13:38:01 -04:00
Aaron Blankstein
f5863ccef2 registrations in 6 confirmations => 4 confs for preorder, 1 for register, 1 for update... now to test it with a local bsk node and see if utxo.blockstack.org shouts at me 2017-07-03 19:18:09 -04:00
Aaron Blankstein
5e78eeb3ce more work on subdomain registrar 2017-07-03 14:38:44 -04:00
Aaron Blankstein
aac14f5645 Merge branch 'rc-0.14.3' into subdomain 2017-07-03 10:15:00 -04:00
Jude Nelson
532684661b re-encode addresses based on BLOCKSTACK_RPC_MOCK_BLOCKCHAIN_NETWORK environment variable 2017-07-03 09:47:50 -04:00
Aaron Blankstein
be48e1d227 registrar now skips issuing a TRANSFER if the name registration was done on behalf of the current owner. added test case for this. 2017-07-01 17:45:05 -04:00
Aaron Blankstein
e1006b7cc6 added support for specifying min_confs in RPC/CLI calls to get_balance 2017-07-01 12:38:04 -04:00
Aaron Blankstein
f10341b402 adding subdomains registrar skeleton 2017-07-01 10:50:25 -04:00
Aaron Blankstein
e8b80ed2bd Merge branch 'rc-0.14.3' into subdomain 2017-06-30 17:38:10 -04:00
Aaron Blankstein
f9bf526b24 bump version 2017-06-30 17:37:37 -04:00
Aaron Blankstein
9a77b4bfeb bump dependency on blockstack-zones to support multiple strings in a TXT entry 2017-06-30 17:36:39 -04:00
Aaron Blankstein
6adbfad4d1 Merge branch 'rc-0.14.3' into subdomain 2017-06-30 16:48:07 -04:00