Nodari Chkuaselidze
8fcfa1a591
types: update primitives, coins, script and covenants.
2024-09-28 18:24:51 +04:00
Nodari Chkuaselidze
df008edca1
pkg: change ownership exports.
2023-05-31 20:39:07 +04:00
Christopher Jeffrey
5a34dd6633
chain/block/mining: implement a more foolproof pow (WIP).
2019-11-04 03:57:19 -08:00
Christopher Jeffrey
40157aa468
hsd: several hard-forks.
...
- Change PoW to KMAC+BLAKE2b-256, remove Cuckoo Cycle.
- Change to a 10 minute block time (updates other constants,
including the halving interval).
- Add `filterRoot` to block header.
- Add a separate witnessRoot.
The last change fixes our original misdesigned segwit, which made syncing a
non-witness chain more difficult than it needed to be. The previous design
merkelized the transaction itself and there was only one merkle root, which was
essentially a witness root. This required "witness data hashes" to be requested
for each block in a non-witness sync. Using a separate tree is just a better
design in the end.
2019-01-21 22:06:25 -08:00
Christopher Jeffrey
a03fcd1a23
pkg: rename to hsd.
2018-08-01 20:00:09 -07:00
Christopher Jeffrey
169da98147
pkg: update deps. remove build.
2018-07-19 05:40:48 -07:00
Christopher Jeffrey
ddd06adbb7
wallet/db: improvements to auction state handling.
2018-07-10 16:23:52 -07:00
Christopher Jeffrey
f3db8d8c39
hskd: update links.
2018-06-08 07:13:46 -07:00
Christopher Jeffrey
115ff86db9
hsk: rename to hskd.
2018-03-11 20:09:32 -07:00
Christopher Jeffrey
e8c2337fbe
hsk: update copyright.
2018-02-01 13:40:45 -08:00
Christopher Jeffrey
c090793e79
hsk: rename to hsk.
2018-02-01 13:28:31 -08:00
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin.
2018-01-02 20:24:56 -08:00
Christopher Jeffrey
da46526c18
workers: classify.
2017-11-16 20:26:28 -08:00
Christopher Jeffrey
218b03f1e8
utils: remove dependence on co.
2017-11-01 14:13:07 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js.
2017-10-26 04:07:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance.
2017-08-06 19:45:10 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints.
2017-08-06 14:43:22 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules.
2017-07-31 18:21:03 -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
94b5487847
workers: minor.
2017-07-17 14:26:44 -07:00
Christopher Jeffrey
7530359b55
workers: minor.
2017-07-17 14:26:43 -07:00
Christopher Jeffrey
498264b417
workers: better errors for verification.
2017-07-17 14:26:43 -07:00
Christopher Jeffrey
4ab48c5f54
workers: saner env sending.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
a93f82db73
workers: minor.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
27c60ce76e
workers: refactor for browser vs node.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
6154ca8b4c
workers/build: require only one worker file.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
6690bd7e9d
workers/webpack: fixes for build and workers.
2017-07-17 14:26:40 -07:00
Christopher Jeffrey
886008a182
workers: misc fixes.
2017-07-17 14:26:40 -07:00
Christopher Jeffrey
4ebe557807
workers: make worker files configurable.
2017-07-17 14:26:40 -07:00
Christopher Jeffrey
8f295a376d
workers: refactor exiting.
2017-07-17 14:26:40 -07:00
Christopher Jeffrey
0250cf4296
workers: better signal handling.
2017-07-17 14:26:40 -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
fdb668aea3
refactor: use rest args where possible.
2017-07-17 14:26:38 -07:00
Christopher Jeffrey
8c7279518f
refactor: de-globalize workerpool.
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
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
98a59e814d
workers: fix build for workers.
2017-06-28 18:26:16 -07:00
Christopher Jeffrey
307e7dd698
webpack: get bcoin building in webpack for node.
2017-06-28 18:04:20 -07:00
Christopher Jeffrey
24cd81a1bd
webpack: use -browser convention instead of aliases.
2017-06-28 12:45:38 -07:00
Christopher Jeffrey
fa3e98b274
crypto: rename ec to secp256k1.
2017-06-27 02:48:19 -07:00
Christopher Jeffrey
8358fa59c6
util: drop all homemade polyfills.
2017-06-27 00:36:13 -07:00
Christopher Jeffrey
d9342cd81c
util: rely on polyfill for nextTick and typed arrays.
2017-06-26 23:31:32 -07:00
Christopher Jeffrey
8b2a0ce446
util: do not use util.global.
2017-06-26 23:07:06 -07:00
Christopher Jeffrey
7317076243
bcoin: remove env.js.
2017-06-26 23:02:49 -07:00
Christopher Jeffrey
518484cac0
util: remove util.nextTick.
2017-06-26 03:43:09 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227 .
2017-06-24 02:39:06 -07:00
Christopher Jeffrey
182784c8e0
utils: remove usage of isBrowser. some refactoring.
2017-06-15 22:28:06 -07:00