Commit Graph

82 Commits

Author SHA1 Message Date
Braydon Fuller
f9aab08c46
indexer: add block position to tx 2019-05-15 12:02:47 -07:00
Matthew Zipkin
df4e287817
utils: custom inspect for objects 2019-03-11 14:28:45 -07:00
Matthew Zipkin
67a258ea74
block: get wit-commit as buffer 2019-02-22 18:08:22 -08: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
22830cf6f3
chain: earlier sanity checks. 2018-07-12 10:16:58 -07:00
Christopher Jeffrey
fac9c714db
bin: drop bin/cli. 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
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
daa55a05bc
primitives: classify primitives. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
658d3db928
encoding: refactor. remove bip70. 2018-03-29 21:56:46 -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
649f8cc171
http: stop using socket.io. 2018-03-29 21:56:44 -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