Commit Graph

442 Commits

Author SHA1 Message Date
Jude Nelson
aea5a99bd5 NAME_UPDATE import 2015-08-14 15:07:06 -04:00
Jude Nelson
c5f90172ee Add the option to raise an exception instead of prompt for missing
configuration details.  At the same time, return missing configuration
fields to the caller, so the caller can optionally find some other way
of supplying them.  This is to make it possible for subprocesses of
blockstored to automatically load configuration data, and raise an
exception of there are missing fields (so the user can go enter them
out-of-band).
2015-08-14 15:05:39 -04:00
Jude Nelson
7813a40faf Do not rely on Twisted looping calls, since they block requests to the
RPC server.  Instead, run a subprocess that periodically rebuilds
the database, and have it run asynchronously with respect to the server.
2015-08-14 15:04:53 -04:00
Jude Nelson
63778909b4 Get NAMESPACE_BEGIN ops to work correctly 2015-08-13 16:57:09 -04:00
Jude Nelson
0517ad2cf5 Explicitly denote hex literals when constructing an OP_RETURN name
script.
2015-08-11 17:28:48 -04:00
Jude Nelson
56eb31ea34 Include the revoke operation 2015-08-11 17:28:35 -04:00
Jude Nelson
b6b0b204c9 Parse NAME_REVOKE; print out debugging info when we find an unparseable
nameop.
2015-08-11 17:28:12 -04:00
Jude Nelson
28cbd5c42a Fix typos found during testing 2015-08-11 17:27:54 -04:00
Jude Nelson
4b7a9c76e2 Add NAME_REVOKE op length; correct NAMESPACE_DEFINE op length 2015-08-11 17:27:29 -04:00
Jude Nelson
47f2a86de2 Pass privatekey to namespace_define 2015-08-11 17:27:08 -04:00
Jude Nelson
ce5d574fec Remove dead code. blockstore/client.py and blockstore/blockstore_cli.py
have been rewritten in the blockstore-client project.
2015-08-11 15:06:22 -04:00
Jude Nelson
e0c1d7ab38 Update package URLs and license in setup script 2015-08-11 15:06:11 -04:00
Jude Nelson
f0d69e2089 Remove parsing 2015-08-11 15:06:03 -04:00
Jude Nelson
caf6211a45 Blockstore, not blockstack state engine 2015-08-11 15:05:49 -04:00
Jude Nelson
46847ede36 Switch to GPLv3; update copyright 2015-08-11 14:53:29 -04:00
Jude Nelson
46a168cdc2 Add [dht] section to the config file, to set the port and servers, or to
disable the DHT altogether (useful for testing)
2015-08-11 14:52:37 -04:00
Jude Nelson
8a5cb7cd1e Use the new namedb state engine and pybitcoin interface to chaincom. 2015-08-11 14:34:13 -04:00
Jude Nelson
f9d17287f2 Switch to GPLv3; remove reliance on fees.py; do not try to force the
generation of a compressed public key; better logging in the
virtualchain hooks module.
2015-08-11 14:32:50 -04:00
Jude Nelson
e9c8111ddd WIP: Namedb: fix bugs and logic errors in preorder, register, update,
and namespace_preorder.
2015-08-11 14:31:53 -04:00
Jude Nelson
3a83772b39 Merged to pybitcoin 2015-08-11 13:52:33 -04:00
Muneeb Ali
c451554a1d tested the new DHT dockerfile with latest version 2015-08-07 17:35:47 -04:00
Muneeb Ali
7219caa3a2 updated license + PEP8 changes 2015-08-07 14:47:06 -04:00
Muneeb Ali
0d164c05f8 updated dockerhub path 2015-08-07 14:46:36 -04:00
Muneeb Ali
19e6dc04d5 bumped kademlia version 2015-08-07 14:11:04 -04:00
Jude Nelson
47ecd65c37 In-progress refactoring: using virtualchain with a state engine.
* lib --> lib.old (depricating old name and storage operations)
* lib: new state-engine name operations logic, with virtualchain
* remove dead code
* add patch for coinkit
* remove dependencies on coinkit (in the new lib/)
Much more to do--will eventually remove lib.old, and will migrate
some of this code over to blockstore-client.
2015-08-04 02:25:39 -04:00
Muneeb Ali
736b213665 Merge pull request #99 from blockstack/ssl-no-verify
fixed bug where port read from ENV should be int
2015-07-28 18:48:37 -04:00
Muneeb Ali
c1c4d9a315 fixed bug where port read from ENV should be int 2015-07-28 18:47:45 -04:00
Jude Nelson
c0c480309f Properly handle HTTPS detection vis a vis command-line and config file
arguments
2015-07-28 16:52:17 -04:00
Jude Nelson
563af521ae Whitespace 2015-07-28 16:51:59 -04:00
Jude Nelson
ade27c05c0 Remove gratuitious debugging 2015-07-28 16:51:36 -04:00
Jude Nelson
6962e357c3 Add Passcard schema with optional hashes; autodetect RPC parallelization
and caching
2015-07-28 16:51:08 -04:00
Jude Nelson
80f8fc41b0 Merge branch 'jude' of https://github.com/namesystem/blockstore into jude 2015-07-28 12:03:02 -04:00
Jude Nelson
34a36ee01e Don't hexlify 2015-07-28 12:02:54 -04:00
Jude Nelson
e8828e82ea log.info --> log.debug 2015-07-28 12:02:36 -04:00
Jude Nelson
b14c51fc26 Document the namedb construction process 2015-07-28 12:01:56 -04:00
Muneeb Ali
ccaeff82da Merge pull request #97 from blockstack/ssl-no-verify
fix for ssl certify error for latest versions of Python 2.7.x
2015-07-27 14:44:03 -04:00
Muneeb Ali
84148fbf4c fix for ssl certify error for latest versions of Python 2.7.x 2015-07-27 14:43:13 -04:00
Ubuntu
c60488c4f4 Patch for coinkit that adds early support for compressed keys 2015-07-27 12:14:01 +00:00
Ubuntu
0ecf682bfc Bugfixes, bugfixes, bugfixes, prototype! 2015-07-27 12:12:53 +00:00
Jude Nelson
5830d31670 Add operations for namespacing and data read/write, as well as
preliminary schema verification.
2015-07-26 06:35:43 -04:00
Jude Nelson
31512f0bc6 Branch off Jude's work on adding storage and namespacing. 2015-07-26 06:34:20 -04:00
Jude Nelson
f731b49e74 Merge branch 'parallel-startup' of https://github.com/namesystem/blockstore into parallel-startup
Conflicts:
	blockstore/blockstored.py
2015-07-26 06:33:36 -04:00
Muneeb Ali
c5e0d282f4 Merge pull request #95 from blockstack/docs
upgraded/tested kademlia v0.5 which solves a recent bug in the repo r…
2015-07-15 17:56:19 -04:00
Muneeb Ali
9cff450746 upgraded/tested kademlia v0.5 which solves a recent bug in the repo re store request 2015-07-15 17:52:50 -04:00
Muneeb Ali
8e1f387f7c Merge pull request #94 from blockstack/docs
added instructions for docker
2015-07-14 19:11:50 -04:00
Muneeb Ali
cbfc975971 added instructions for docker 2015-07-14 19:01:37 -04:00
Jude Nelson
4bf3b5e251 Remove now-redundant code that is now held in lib.blockdaemon 2015-06-23 11:30:30 -04:00
Jude Nelson
ee62bd1f92 Factor out common blockchain-based daemon logic to its own library.
Have blockstored base itself on this library, and eventually have
blockmirrord do likewise.
2015-06-23 11:29:39 -04:00
Muneeb Ali
13b5301a95 Update README.md 2015-06-18 11:28:18 -04:00
Ubuntu
553a301f7a Merge branch 'parallel-startup' of https://github.com/namesystem/blockstore into parallel-startup 2015-06-16 19:07:20 +00:00