Jude Nelson
d86cbee2de
use virtualchain's key logic
2016-08-04 15:42:51 -04:00
Jude Nelson
f0e1ad44e9
use virtualchain's key logic (to automatically use testnet); convert
...
import addresses to testnet addresses if we're in testnet mode.
2016-08-04 15:42:20 -04:00
Jude Nelson
ac1a610921
Hard fork: use namespace lifetime multipler to determine expiration
2016-07-27 15:36:14 -04:00
Jude Nelson
bd3edd8997
Expand namespace lifetime by 4x
2016-07-20 10:37:08 -04:00
Jude Nelson
0a7c5996cc
get_name_history() should return a dict, keyed by block height
2016-07-18 15:59:00 -04:00
Jude Nelson
87da0001a8
bugfix: cache until invalidated, and set invalidation timers
...
appropriately
2016-07-06 15:49:05 -04:00
Jude Nelson
a79f64b5a6
corner case: in case it takes a very long time to load the DB from RAM,
...
ensure mutual exclusivity on loading it
2016-07-06 12:55:42 -04:00
Jude Nelson
3390162543
add comments on when/how to use BlockstackDB class
2016-07-06 12:55:29 -04:00
Jude Nelson
203869b10a
rely on check time, not mtime
2016-06-21 02:42:20 -04:00
Jude Nelson
4e3a66e2eb
Optimization: keep the database in RAM, except when indexing. Be sure to invalidate
...
when finished indexing. The only thing clients will pull from the db is
the current consensus hash.
2016-06-21 01:48:28 -04:00
Jude Nelson
33329b373d
remove testset
2016-06-14 11:30:53 -04:00
Jude Nelson
6a14fa441e
remove testset
2016-06-14 11:30:43 -04:00
Jude Nelson
e56d202a4d
return None if there are no names with a given value hash
2016-06-09 03:18:12 -04:00
Jude Nelson
daac6d43fa
BLOCKSTORE --> BLOCKSTACK
2016-06-06 17:44:33 -04:00
Jude Nelson
76b3223a96
backport automatic db backup and restore from develop
2016-05-18 15:45:53 -04:00
Jude Nelson
a62535e500
use new virtualchain log facility
2016-05-11 18:03:02 -04:00
Jude Nelson
b85bfe6f70
preserve 'first_registered' and 'last_renewed' across re-registers
...
(affects SNV, not consensus). Also, bugfix on namespace reveal
expiration
2016-05-11 18:02:34 -04:00
Jude Nelson
bfffc61511
always ensure database is fresh
2016-04-26 03:36:48 -04:00
Jude Nelson
3e48b69837
Merge branch 'hotfix-verifydb' into hotfix-notwisted
2016-04-24 08:31:10 -04:00
Jude Nelson
3f168070ab
bugs fixed during testing
2016-04-23 23:32:29 -04:00
Jude Nelson
b575980ba8
Remove now-dead code; compat with virtualchain 0.0.9.0
2016-04-22 17:59:21 -04:00
Jude Nelson
da907595f7
BLOCKSTACK_VERSION, not BLOCKSTORE_VERSION. Also, DISPOSITION_* fields
...
backported from develop
2016-04-22 17:58:56 -04:00
Jude Nelson
9e4991b0aa
compat with current virtualchain
2016-04-22 17:58:38 -04:00
Jude Nelson
fe4bf8bdc1
Backport queries for value hashes by name
2016-04-20 17:54:36 -04:00
Ubuntu
e27b9d636f
always reload the db if it doesn't exist
2016-04-18 20:28:17 +00:00
Ubuntu
ffe114fcf2
backport compatibility with virtualchain 0.0.8
2016-04-18 20:26:56 +00:00
Ubuntu
7d8a438063
handle the case where the db is not on disk
2016-04-18 19:30:29 +00:00
Jude Nelson
7deb8bdbfd
use mtime to determine when to re-load the database
2016-04-18 15:14:58 -04:00
Jude Nelson
e9fadbd35a
back up 'transfer_send_block_id' in all name operations
2016-04-01 17:24:42 -04:00
Jude Nelson
3b91f4a7f8
Remember which block ID contained the consensus hash that accompanied a
...
NAME_TRANSFER operation. This is not a consensus-breaking change, but
any database that does not incorporate this information on NAME_TRANSFER
will be unverifiable.
The block ID is used to later look up the consensus hash that
accompanied the NAME_TRANSFER, when verifying the database or performing
SNV. This is necessary because due to a quirk in the original
Blockstore prototype, NAME_TRANSFER did not save its consensus hash, and
our test framework accidentally masked this behavior (by sheer
coincidence, it could always select the "right" consensus hash when
reconstructing a NAME_TRANSFER operation from a name's history when
running in the test environment). This has since been caught, and
integration tests have been written to watch for this bug.
2016-04-01 15:04:01 -04:00
Muneeb Ali
3a79c9e0d9
fixed merge conflicts
2016-02-25 00:26:42 -05:00
Ubuntu
9cc9326558
virtual chain name is now 'blockstack-server' to avoid conflicts with the new client.
2016-02-24 15:48:44 +00:00
Jude Nelson
766f8df56a
Rename BlockstoreDB to BlockstackDB
2016-02-23 15:56:09 -05:00
Jude Nelson
29f7e2ef8c
WIP: renaming blockstore to blockstack
2016-02-23 15:52:18 -05:00