Christopher Jeffrey (JJ)
|
27b896a4ed
|
Merge pull request #211 from pinheadmz/cbtxt
return coinbase scriptSig string in getblock requests
|
2017-05-12 10:48:21 -07:00 |
|
Matthew Zipkin
|
6a332bfeaf
|
init return cb rpc
|
2017-05-05 20:51:57 +00:00 |
|
Christopher Jeffrey
|
12d3ee6f95
|
rpc: add getblockbyheight call.
|
2017-04-30 07:18:16 -07:00 |
|
Christopher Jeffrey
|
ed4400acb9
|
address: start using from/toString.
|
2017-04-30 07:13:36 -07:00 |
|
Christopher Jeffrey
|
4f09065a3e
|
rpc: ensure shutdown. see #188.
|
2017-04-30 06:30:23 -07:00 |
|
Christopher Jeffrey
|
e821eb10bf
|
rpc: minor refactor for gbt deps.
|
2017-03-17 04:32:41 -07:00 |
|
Christopher Jeffrey
|
1f10bf8253
|
rpc: move getDifficulty.
|
2017-03-16 14:14:57 -07:00 |
|
Christopher Jeffrey
|
35d9727bc3
|
rpc: minor.
|
2017-03-16 14:06:34 -07:00 |
|
Christopher Jeffrey
|
0a065be686
|
rpc: refactor some calls.
|
2017-03-16 13:32:11 -07:00 |
|
Christopher Jeffrey
|
2e4a759487
|
gbt: fix deps check. do not mutate version.
|
2017-03-15 09:14:32 -07:00 |
|
Christopher Jeffrey
|
89cbdac61e
|
rpc: more gbt/getwork improvements.
|
2017-03-15 08:54:29 -07:00 |
|
Christopher Jeffrey
|
ff80620e5e
|
rpc: some more gbt fixes.
|
2017-03-15 07:45:23 -07:00 |
|
Christopher Jeffrey
|
1458366441
|
reader: better errors.
|
2017-03-15 06:49:46 -07:00 |
|
Christopher Jeffrey
|
3ae417795f
|
rpc: better error codes.
|
2017-03-15 06:13:27 -07:00 |
|
Christopher Jeffrey
|
5ee8a9b306
|
rpc: improve gbt proposal and capabilities handling.
|
2017-03-15 04:49:54 -07:00 |
|
Christopher Jeffrey
|
dc6b7b1f10
|
rpc: rename _submitBlock.
|
2017-03-15 04:04:22 -07:00 |
|
Christopher Jeffrey
|
9581225b8c
|
rpc: hold chain lock during submitblock.
|
2017-03-15 03:59:46 -07:00 |
|
Christopher Jeffrey
|
de50a62b00
|
rpc: misc fixes.
|
2017-03-15 03:44:45 -07:00 |
|
Christopher Jeffrey
|
a986a4c6b8
|
minor: lint.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
290f6ab563
|
rpc: implement invalidateblock correctly.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
c174bed58d
|
rpc: getmemoryinfo.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
9e479483f5
|
minor: lint.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
68bba8621e
|
rpc/mempool: implement prioritisetransaction.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
6f27b3fa3d
|
rpc: minor.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
6eb6800fc8
|
rpc: misc rpc fixes.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
f4106a615e
|
rpc: fix getinfo. see #165.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
023591978a
|
rpc: fix wit commitment for getblocktemplate.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
b372715c88
|
miner: update curtime. see #160.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
99d2cceebe
|
rpc: fix nonce updating.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
5ce806a723
|
rpc: fix cpuminer.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
f7853aa639
|
logger: better context handling.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
b0c2b89e79
|
mining: refactor proof handling.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
b453898f6e
|
rpc: misc fixes.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
48066f1634
|
http: misc fixes.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
945fa381c5
|
refactor: mining.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
50d47dd5a6
|
rpc: method refactor. getwork refactor.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
78a4f379f5
|
rpc: add u32 validation. rename node rpc methods.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
59e9ef277a
|
http: make rpc more hookable.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
5cbbdbfb2f
|
refactor: config, plugins, and walletdb.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
a81733a720
|
node/config: refactor config and options.
|
2017-03-14 06:09:29 -07:00 |
|
Christopher Jeffrey
|
871225bbe4
|
pool/peer: split request map into two maps.
|
2017-03-07 19:49:50 -08:00 |
|
Christopher Jeffrey
|
cdbad54a8c
|
net: improvements. see comments.
- Improved local address handling.
- Enabled upnp discovery.
- Added retry for dns seeds.
- Improved hostlist in general.
|
2017-03-07 17:10:47 -08:00 |
|
Christopher Jeffrey
|
b53162e12d
|
mempool: fix getDescendants and getAncestors.
|
2017-03-05 16:44:46 -08:00 |
|
Christopher Jeffrey
|
a2fd9b35c6
|
rpc: fix besthash byte order.
|
2017-03-04 16:00:37 -08:00 |
|
Christopher Jeffrey
|
a96868ff8e
|
pool: track peer heights.
|
2017-03-04 15:40:59 -08:00 |
|
Christopher Jeffrey
|
beefcfba67
|
chain: return null on orphan blocks.
|
2017-03-04 15:37:27 -08:00 |
|
Christopher Jeffrey
|
7b516ddd1e
|
net: more stall behavior.
|
2017-03-02 17:47:02 -08:00 |
|
Christopher Jeffrey
|
89ff0796c7
|
refactor: do not require json files.
|
2017-03-01 08:48:53 -08:00 |
|
Christopher Jeffrey
|
c365ecb3ea
|
rpc: improve getrawtransaction.
|
2017-02-28 15:15:52 -08:00 |
|
Christopher Jeffrey
|
9f09de4867
|
rpc/http/wallet: more aggressive validation for addrs/keys.
|
2017-02-28 14:52:54 -08:00 |
|
Christopher Jeffrey
|
7688d80e74
|
block/chain: refactor block verification and caching.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
cb5fa84042
|
rpc: minor fixes.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
c5e4aa0245
|
rpc: refactor help handling.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
39c1817043
|
chain: add verifyBlock method. expose on rpc.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
0120e67203
|
rpc: more accurate client rules handling (gbt).
|
2017-02-27 00:16:44 -08:00 |
|
Christopher Jeffrey
|
769bbd1370
|
rpc: clean up some rpc calls.
|
2017-02-26 22:50:07 -08:00 |
|
Christopher Jeffrey
|
e49e877f17
|
rpc: do not use weight pre-segwit (see 9fc7f0b).
|
2017-02-26 21:20:24 -08:00 |
|
Christopher Jeffrey
|
c80c242738
|
rpc: reverse target endianness.
|
2017-02-26 03:25:55 -08:00 |
|
Christopher Jeffrey
|
cb7af959ce
|
miner: compare cumulative descendant fee rate.
|
2017-02-26 03:09:33 -08:00 |
|
Christopher Jeffrey
|
386ef622c0
|
rpc: only add wit-nonce if segwit is active (submitblock).
|
2017-02-25 18:22:22 -08:00 |
|
Christopher Jeffrey
|
1e07d1ba83
|
chain: improve target and mtp calculation.
|
2017-02-13 21:59:41 -08:00 |
|
Christopher Jeffrey
|
7cc62c0a1e
|
rpc: fix getpeerinfo - relaytxes.
|
2017-02-08 15:56:31 -08:00 |
|
Christopher Jeffrey
|
4e7df6ef87
|
docs: get jsdoc compiling again.
|
2017-02-03 22:47:26 -08:00 |
|
Christopher Jeffrey
|
b8324e0b09
|
ip: rename some functions.
|
2017-01-23 23:08:21 -08:00 |
|
Christopher Jeffrey
|
6e13fe57c0
|
pool: refactor header sync.
|
2017-01-21 16:59:20 -08:00 |
|
Christopher Jeffrey
|
9d580289ab
|
rpc: fix peer.hostname.
|
2017-01-21 04:12:39 -08:00 |
|
Christopher Jeffrey
|
db49f44c8a
|
peer: refactor version packet handling.
|
2017-01-16 03:33:54 -08:00 |
|
Christopher Jeffrey
|
a53b2c0eef
|
primitives: cloning and assertions.
|
2017-01-15 15:17:33 -08:00 |
|
Christopher Jeffrey
|
199699d73a
|
node: better option handling.
|
2017-01-14 19:35:59 -08:00 |
|
Christopher Jeffrey
|
a486bd3a18
|
refactor: options.
|
2017-01-14 17:59:54 -08:00 |
|
Christopher Jeffrey
|
46e53abe9c
|
gbt: fix target endianness.
|
2017-01-13 15:11:35 -08:00 |
|
Christopher Jeffrey
|
34dd6c3b79
|
http: url fixes.
|
2017-01-12 13:04:10 -08:00 |
|
Christopher Jeffrey
|
002718206a
|
rpc: some refactoring.
|
2017-01-12 12:41:33 -08:00 |
|
Christopher Jeffrey
|
7c021cf842
|
utils: rename locker to lock for consistency.
|
2017-01-11 21:20:26 -08:00 |
|
Christopher Jeffrey
|
0eef277984
|
mtx: coin selector refactor.
|
2017-01-07 15:39:18 -08:00 |
|
Christopher Jeffrey
|
d396cdd0fd
|
constants: minor.
|
2017-01-06 21:14:11 -08:00 |
|
Christopher Jeffrey
|
75430cae8b
|
refactor: more moving.
|
2017-01-06 10:18:21 -08:00 |
|
Christopher Jeffrey
|
5caf6210b9
|
refactor: move constants around.
|
2017-01-06 09:57:55 -08:00 |
|
Christopher Jeffrey
|
14f2851929
|
pool: add ban and unban calls once again.
|
2016-12-21 15:13:01 -08:00 |
|
Christopher Jeffrey
|
24e6ed7a26
|
net: rewrite hostlist. bitcoind-style management.
|
2016-12-21 13:18:03 -08:00 |
|
Christopher Jeffrey
|
25101f1784
|
net: refactor host and peer list.
|
2016-12-20 15:45:12 -08:00 |
|
Christopher Jeffrey
|
127a52aaf1
|
refactor: rename network address.
|
2016-12-20 12:47:19 -08:00 |
|
Christopher Jeffrey
|
edf47d67c8
|
primitives: refresh call.
|
2016-12-16 22:02:05 -08:00 |
|
Christopher Jeffrey
|
4269d16fee
|
refactor: lint.
|
2016-12-16 14:49:35 -08:00 |
|
Christopher Jeffrey
|
69a9b5873f
|
net: use linked lists.
|
2016-12-16 03:18:08 -08:00 |
|
Christopher Jeffrey
|
d661496541
|
rpc: minor.
|
2016-12-15 19:20:12 -08:00 |
|
Christopher Jeffrey
|
29579fc8d0
|
rpc: refactor getblocktemplate.
|
2016-12-15 19:06:22 -08:00 |
|
Christopher Jeffrey
|
2e26909e85
|
rpc: add witness nonce for submitted blocks.
|
2016-12-15 16:12:35 -08:00 |
|
Christopher Jeffrey
|
6d1eb9fd36
|
rpc: submitblock logs.
|
2016-12-15 15:38:27 -08:00 |
|
Christopher Jeffrey
|
559cc3592d
|
mempool: handle mined removal better.
|
2016-12-15 15:12:55 -08:00 |
|
Christopher Jeffrey
|
4a8c4dee57
|
node: fix event race conditions.
|
2016-12-14 12:03:47 -08:00 |
|
Christopher Jeffrey
|
65ddc563d6
|
miner: mining and rpc changes.
|
2016-12-14 10:03:39 -08:00 |
|
Christopher Jeffrey
|
c1d6896797
|
rpc: minor fixes.
|
2016-12-14 04:20:05 -08:00 |
|
Christopher Jeffrey
|
eef018004f
|
http/rpc: mining. logs and error handling.
|
2016-12-13 21:06:37 -08:00 |
|
Christopher Jeffrey
|
33a8e1e511
|
block/tx: sigops cost/size/weight.
|
2016-12-13 16:52:31 -08:00 |
|
Christopher Jeffrey
|
df4b07304b
|
rpc: fix getblocktemplate.
|
2016-12-12 05:11:19 -08:00 |
|
Christopher Jeffrey
|
ed4fb0f92c
|
rpc: minor.
|
2016-12-11 08:23:03 -08:00 |
|
Christopher Jeffrey
|
48fc7549ce
|
tx/wallet: misc fixes.
|
2016-12-11 06:14:32 -08:00 |
|
Christopher Jeffrey
|
59645ac3ec
|
refactor: remove extra properties from tx and block.
|
2016-12-11 05:35:31 -08:00 |
|
Christopher Jeffrey
|
12b3274d33
|
refactor: pass coin viewpoints for every function requiring inputs.
|
2016-12-09 07:15:35 -08:00 |
|