Christopher Jeffrey
9304e66aed
blockchain: get covenants and trie working.
2018-01-05 07:51:19 -08:00
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin.
2018-01-02 20:24:56 -08:00
Christopher Jeffrey
c9c7baaff0
handshake: initial work.
2017-12-31 16:46:13 -08:00
Christopher Jeffrey
cc3bd01ad2
bin: drop bin/cli.
2017-12-30 06:19:07 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding.
2017-12-05 03:14:34 -08:00
Christopher Jeffrey
0e4d32f41b
bcoin: use util.revHex again.
2017-11-17 00:00:36 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module.
2017-11-16 11:43:24 -08:00
Christopher Jeffrey
805ecea271
primitives: classify primitives.
2017-11-15 18:55:01 -08:00
Christopher Jeffrey
1b39abe157
bcoin: rename bufio and bstring.
2017-11-15 09:02:44 -08:00
Christopher Jeffrey
3ecc9829e3
utils: start using bbuf.
2017-10-30 21:29:49 -07:00
Christopher Jeffrey
f994266f35
encoding: refactor. remove bip70.
2017-10-30 21:02:19 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js.
2017-10-26 04:07:48 -07:00
Christopher Jeffrey
71182864e7
bcoin: use bcrypto. remove crypto module.
2017-10-25 21:21:39 -07:00
Christopher Jeffrey
a682f202bf
http: stop using socket.io.
2017-10-22 05:44:16 -07:00
Daniel McNally
c2cef86296
Adding 'confirmations' property to block getJSON
...
Adds a 'confirmations' property to the JSON returned by `cli tx [hash]`
as well as the Rest `/tx/:hash` call by subtracting block height from
chain height
2017-09-28 23:41:13 -04:00
Christopher Jeffrey
e0eb1cdbe3
refactor: remove all duck typing.
2017-09-02 21:29:38 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
...
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance.
2017-08-06 19:45:10 -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
87d664784c
refactor: s/ts/time. s/ps/mtime.
2017-07-25 14:23:10 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible.
2017-07-25 05:15:47 -07:00
Christopher Jeffrey
1e9855a4fa
block/tx: refactor size calculation.
2017-07-25 02:12:35 -07:00
Christopher Jeffrey
cd795cf96f
block: remove addTX.
2017-07-25 01:53:58 -07:00
Christopher Jeffrey
8c212d797f
block: rename some more methods. refactor bip152 ptx vector.
2017-07-25 01:16:25 -07:00
Christopher Jeffrey
7ed36ec2ba
block: rename "abbr" methods to "head".
2017-07-25 00:08:28 -07:00
Christopher Jeffrey
a915545a1a
block: minor.
2017-07-20 14:28:47 -07:00
Christopher Jeffrey
7ef658049c
block: minor.
2017-07-20 01:56:06 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations.
2017-07-17 14:26:43 -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
78d62c73b8
refactor: start using multiple return values.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
d4cc22e1c5
refactor: crypto.
2017-06-27 07:27:53 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications.
2017-05-30 21:11:10 -07:00
Christopher Jeffrey
3ca70a152a
block: remove coinbase from json output.
2017-05-12 11:45:30 -07:00
Matthew Zipkin
6a332bfeaf
init return cb rpc
2017-05-05 20:51:57 +00:00
Christopher Jeffrey
60ff33bdb2
block: minor.
2017-02-28 10:13:48 -08:00
Christopher Jeffrey
e9d87dcd98
refactor: lint.
2017-02-28 10:09:17 -08:00
Christopher Jeffrey
914b66b94f
block: do not cache height parsing.
2017-02-28 09:20:23 -08:00
Christopher Jeffrey
7688d80e74
block/chain: refactor block verification and caching.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
426ab85f15
block: remove commitment hash cache.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
f71f2d954b
chain: optimize reward calculation.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
4e7df6ef87
docs: get jsdoc compiling again.
2017-02-03 22:47:26 -08:00
Christopher Jeffrey
86fdf33f8a
block: fix isBlock.
2017-01-27 18:10:51 -08:00
Christopher Jeffrey
4c557744a2
refactor: address, amount, uri, errors.
2017-01-09 23:07:02 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -08:00
Christopher Jeffrey
edf47d67c8
primitives: refresh call.
2016-12-16 22:02:05 -08:00
Christopher Jeffrey
2e26909e85
rpc: add witness nonce for submitted blocks.
2016-12-15 16:12:35 -08:00
Christopher Jeffrey
33a8e1e511
block/tx: sigops cost/size/weight.
2016-12-13 16:52:31 -08:00