Jude Nelson
4a7c1a3b47
merge sqlite3's operation relationship definitions
2016-09-02 00:15:55 -04:00
Jude Nelson
3d8228a914
move database and history verification to one place
2016-09-02 00:14:39 -04:00
Jude Nelson
acb0eb5104
refactoring: move name/namespace validation and pricing to lib/scripts;
...
move common transaction extraction logic to lib/scripts
2016-09-02 00:13:51 -04:00
Jude Nelson
8e27fc5586
abort on fatal error
2016-08-30 20:23:52 -04:00
Jude Nelson
940d29e14e
remove unused code
2016-08-29 17:35:40 -04:00
Jude Nelson
4655830e53
set NUM_CONFIRMATIONS to 0 when testing, so we can get faster results
2016-08-29 17:35:28 -04:00
Jude Nelson
5fd23a8938
make blockstack-server amenable to running in the network simulator
2016-08-26 18:46:41 -04:00
Jude Nelson
d999f1beb7
typo (bug)
2016-08-24 17:42:56 -04:00
Jude Nelson
3a625263e9
add atlas config options
2016-08-24 17:42:38 -04:00
Jude Nelson
89c0fc2572
support atlas = [True|False] under [blockstack]
2016-08-23 11:39:56 -04:00
Jude Nelson
4ac8651741
use correct zonefile cache path; disable update tx check when testing
2016-08-18 18:33:08 -04:00
Jude Nelson
7b69b499cc
tweak comments; add get_zonefile_hashes_at() for Atlas node support
2016-08-15 18:20:18 -04:00
Jude Nelson
7cd61e362f
remove dead imports; if unit-testing, then set a version directly (won't
...
be used unless the right envars are set)
2016-08-15 18:19:41 -04:00
Jude Nelson
5e570de5bf
remove dead code
2016-08-15 18:19:12 -04:00
Jude Nelson
21285a9d7e
remove dead code
2016-08-15 18:19:00 -04:00
Jude Nelson
4b5b72fa77
enforce op_fee formatting quirk; check for absurdly high-value transactions
...
while testing
2016-08-10 16:07:21 -04:00
Jude Nelson
ccc6f91e5e
some things don't have to be considered p2pkh scripts any longer :D
2016-08-06 00:15:45 -04:00
Jude Nelson
4656fe951a
CONSENSUS-BREAKING CHANGE: if we can't find the pubkey hex in the script
...
sig, then set it to "", not None. This hadn't been a problem before,
because all keys were p2pkh and always had public keys. With multisig
support, this will no longer be the case.
2016-08-06 00:14:42 -04:00
Jude Nelson
070e9b86de
period
2016-08-06 00:14:32 -04:00
Jude Nelson
0006c7b48d
remove now-unneeded code
2016-08-06 00:14:07 -04:00
Jude Nelson
162c9174e9
use virtualchain's key logic
2016-08-04 15:43:06 -04:00
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
4f27523f9b
convert burn address hash to proper address format
2016-08-04 13:50:38 -04:00
Jude Nelson
18aba7382b
use virtualchain's bitcoin key classes
2016-08-01 17:35:23 -04:00
Jude Nelson
ae0f59b21b
use a different start block if given in the environment variable
2016-08-01 17:35:07 -04:00
Jude Nelson
667bffc4e3
Merge branch 'master' into rc-0.0.14.0
2016-07-27 17:57:45 -04:00
Jude Nelson
225b7e1964
If there is no server_version in the config file, automatically add it
...
when generating the new config file (#229 ). However, don't add it if it
was already present in the config file, or if the config file already
exists (in which case, the appropriate action is to use the version
given, or back up the old config file).
2016-07-27 16:12:28 -04:00
Jude Nelson
ac1a610921
Hard fork: use namespace lifetime multipler to determine expiration
2016-07-27 15:36:14 -04:00
Jude Nelson
182a86a7e7
Hard fork: namespace lifetime multipler
2016-07-27 15:36:03 -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
a59a62c27c
store server version in the config file, and use it to determine whether
...
or not the config file is obsolete and needs to be regenerated
2016-07-13 15:42:47 -04:00
Jude Nelson
a5d0c1e68f
(temporarily) remove get_zonefile_from_peers from the module
2016-07-12 16:34:56 -04:00
Jude Nelson
16e2cf9f12
store zonefiles as directory trees to avoid filling a single directory
...
with too many entries
2016-07-12 16:34:00 -04:00
Jude Nelson
d1839e40c0
zonefiles are 4K tops, in order to preserve backwards-compatibility with
...
UDP-based protocols (like the old DHT)
2016-07-12 16:33:05 -04:00
Jude Nelson
271ce3ba3d
zonefile_dict
2016-07-10 16:29:30 -04:00
Jude Nelson
8c9dcd42b8
use caller-given zonefile drivers
2016-07-10 16:28:10 -04:00
Jude Nelson
cdf85a8702
optional required drivers argument
2016-07-10 14:47:17 -04:00
Jude Nelson
22f015f847
'zonefile_storage_drivers' and 'profile_storage_drivers' config options
2016-07-10 14:46:56 -04:00
Jude Nelson
01e04f876c
parse the right data
2016-07-08 16:37:43 -04:00
Jude Nelson
739257e440
add is_namespace_valid()
2016-07-08 16:37:31 -04:00
Jude Nelson
bbdf3d214d
remove dead code
2016-07-08 16:37:23 -04:00
Jude Nelson
57aaf9188c
maximum zonefile/profile replication sizes
2016-07-08 16:37:09 -04:00
Jude Nelson
72265c68b3
dealing with serialized zonefiles
2016-07-08 14:59:59 -04:00
Jude Nelson
946b3a2bdd
store *serialized* zonefile
2016-07-08 12:51:40 -04:00
Jude Nelson
ad6579d634
add storage module
2016-07-08 12:51:12 -04:00
Jude Nelson
5c31c0f449
if the zonefile directory doesn't exist, create it
2016-07-08 12:31:24 -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