Commit Graph

144 Commits

Author SHA1 Message Date
Braydon Fuller
35a25e0d8b
protocol: clear regtest seeds
This prevents attempts to add itself as a peer that would
generate unnecessary error log messages when running a regtest node.
2019-02-07 18:56:51 -08:00
Braydon Fuller
fa877503a4
blockchain: enable segwit for regtest 2019-01-31 13:03:59 -08:00
Mark Tyneway
b10aea8f3d
bugfix: regtest segwit start time 0
The deployments are written to and read
from a database and the start time is
a U32. Changing the value to -1 will cause
the value to be read incorrectly and cause
the tests to fail.
2019-01-28 15:31:59 -08:00
Javed Khan
70886c33e2
networks: restore regtest ports 2019-01-28 15:31:59 -08:00
Javed Khan
53a09b0a02
networks: always activate segwit for regtest 2019-01-28 15:31:57 -08:00
Javed Khan
48f38a4a65
networks: update regtest params 2019-01-28 15:31:56 -08:00
Christopher Jeffrey
f10d7b8363
pkg: remove bn.js dependency. 2018-08-10 16:33:38 -07:00
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
7647145614
networks: add one more checkpoint for testnet. 2018-07-13 13:28:58 -07:00
Christopher Jeffrey
44e856d36b
networks: update checkpoints and chainwork. 2018-07-13 12:57:12 -07:00
Christopher Jeffrey
b6d067ec93
consensus: fail early on pow check when target > 256 bits. 2018-07-12 10:17:12 -07:00
Christopher Jeffrey
0c3657e167
networks: update checkpoints. 2018-04-06 16:15:10 -07:00
Javed Khan
37a1d02e76
networks: update simnet bech32 prefix 2018-03-29 22:06:48 -07:00
Christopher Jeffrey
f1672a8b86
types: cleanup types. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
5ea218b373
bcoin: require bn.js directly. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
9240d2f827
protocol: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
3c3f6b953c
network/fees: minor. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
a79c2b0b1a
bcoin: start switching to class syntax. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
5a23ba96d0
wallet: get server working. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
636d66a5c7
bcoin: use bcrypto. remove crypto module. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
e0eb1cdbe3
refactor: remove all duck typing. 2017-09-02 21:29:38 -07:00
Christopher Jeffrey
5c7c66332f
timedata: whitespace. 2017-08-10 12:32:49 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00
Christopher Jeffrey
bb6110c609
chain/pool: make checkpoints option permanent. 2017-08-02 15:23:10 -07:00
Christopher Jeffrey
ee7ad9dc86
chain: determine sync state using last checkpoint's chainwork. 2017-08-01 15:17:55 -07:00
Christopher Jeffrey
dfd63f12bb
networks: update testnet chainwork. 2017-07-31 18:21:04 -07:00
Christopher Jeffrey
1fa800e9fd
networks: checkpoints and chainwork update. 2017-07-31 18:21:04 -07:00
Christopher Jeffrey
88ef28d837
lint: no implicit casting. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5eb6620431
lint: consistent return values. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
957c4e8c93
network/address: remove segnet4 support. fix bech32 parsing. 2017-07-25 16:31:27 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
23397dd753
refactor: change for..of loop usage. 2017-07-24 19:45:46 -07:00
Christopher Jeffrey
3a0c9b60e2
chain: implement bip91 and bip148. 2017-07-23 07:32:18 -07:00
Christopher Jeffrey
beacd48462
timedata: refactor time.add(). 2017-07-20 13:23:38 -07:00
Christopher Jeffrey
a11a1ab4ad
timedata: minor. 2017-07-20 01:10:22 -07:00
Christopher Jeffrey
053561f2ba
errors: fix stack traces. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3af014119a
refactor: switch to template strings for errors. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
10672784e5
refactor: rename tx functions. more es6 features. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
e00472891d
refactor: start using for...of. 2017-07-17 14:26:37 -07:00