Matthew Zipkin
df4e287817
utils: custom inspect for objects
2019-03-11 14:28:45 -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
Matthew Zipkin
64ba4c7567
txmeta: fix JSON confirmations value when unconfirmed, add test
2018-07-03 11:30:50 +05:30
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
6bc8701f23
bcoin: some code cleanup.
2017-10-19 02:05:40 -07:00
Daniel McNally
4f317992f5
Fixes to TX & Block confirmations property
...
TX `confirmations` property set to 0 for unconfirmed transactions. Block
`confirmations` property set to -1 for orphaned blocks. Fixing to add +1
to `confirmations` to match bitcoind behavior and corresponding bcoin
rpc methods - block or tx at tip of main chain starts with 1
confirmation (not zero).
2017-10-02 00:58:48 -07:00
Daniel McNally
0f68427778
Adding 'confirmations' property to TX getJSON
...
Adds a 'confirmations' property to the JSON returned by cli tx [hash] as
well as the REST '/tx/:hash' call by subtracting TX height from chain
height
2017-09-28 22:47:50 -04:00
Christopher Jeffrey
e0eb1cdbe3
refactor: remove all duck typing.
2017-09-02 21:29:38 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints.
2017-08-06 14:43:22 -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
c53f4cf89e
refactor: switch to const/let.
2017-07-17 14:26:37 -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
4e7df6ef87
docs: get jsdoc compiling again.
2017-02-03 22:47:26 -08:00
Christopher Jeffrey
3b9e4d6c6e
refactor: use static writers everywhere.
2016-12-11 17:26:42 -08:00
Christopher Jeffrey
d4cb8d82a2
minor: comments.
2016-12-11 08:32:46 -08:00
Christopher Jeffrey
59645ac3ec
refactor: remove extra properties from tx and block.
2016-12-11 05:35:31 -08:00