Commit graph

431 commits

Author SHA1 Message Date
Fernando Falci
4e9be1e418
Better error types 2021-06-08 21:04:47 +02:00
Fernando Falci
8767e9b786
Sign & verify message with name 2021-06-06 13:50:07 +02:00
ruyi.chang
0adf61bbe7 [getwork-RPC] Add the fee to the return result of getwork. 2021-04-07 11:02:09 +08:00
Christopher Jeffrey (JJ)
87981c6838
Merge pull request #585 from handshake-org/inflation-bug-fix
Inflation bug fix (covert->overt soft-fork)
2021-04-02 11:30:27 -07:00
Christopher Jeffrey
0603531e70
consensus: fix inflation bug pertaining to replacement name claims.
See https://handshake.org/notice/2020-04-02-Inflation-Bug-Disclosure.html
2021-04-02 10:44:06 -07:00
Christopher Jeffrey
68bdeb38b1
node/rpc: improve management previous block attempts for getwork. 2021-03-31 13:46:15 -07:00
Christopher Jeffrey
23436f8b5e
node/rpc: re-enable coinbasetxn in a backwardly compatible way. 2021-03-30 23:47:38 -07:00
Christopher Jeffrey
5928e80b42
node/rpc: major fixes for getwork. 2021-03-30 23:47:34 -07:00
Matthew Zipkin
7660280c2a
node: accept --no-dns and --no-rs configuration option to disable NS and RS 2021-03-23 13:44:33 -04:00
Matthew Zipkin
a4aa0db103
Merge PR #576 from 'nodar-chkuaselidze/wallet-log-queries' 2021-03-17 13:11:27 -04:00
Nodari Chkuaselidze
d755331e68 wallet-rpc: log queries.
node-rpc: remove non-existent command.
rpc: Separate log contexts for node and wallet rpcs.
2021-03-17 12:45:17 +04:00
Matthew Zipkin
27fe87e509
node: reserve 'ns' and 'rs' from plugin ids and add to get() 2021-03-03 11:57:09 -05:00
Matthew Zipkin
c5e50e696b
fullnode: parse --mempool-expiry-time 2021-01-12 10:37:57 -05:00
Matthew Zipkin
f12bb2056c
miner: parse minWeight option from Full Node 2020-09-15 08:50:52 -04:00
Matthew Zipkin
940f463259
Merge PR #451 'tynes/rpc-resetrootcache' 2020-08-04 10:39:19 -04:00
Mark Tyneway
c649d9ede6
rpc: resetrootcache 2020-08-03 13:33:49 -07:00
Boyma
22be7faa37
Merge pull request #448 from tynes/getrawtransaction-address-fix
node/rpc: addrToJSON include bech32 string
2020-05-25 17:59:55 -04:00
Boyma
f69cf3122e
Merge pull request #261 from tynes/rpc-dnssec-proof
node/rpc: getdnssecproof
2020-05-25 17:44:48 -04:00
Mark Tyneway
60da1f87ae
node/rpc: addrToJSON include bech32 string 2020-05-08 11:41:27 -07:00
Mark Tyneway
6e6804329e
node/rpc: getdnssecproof
Accepts "estimate" and "verbose" optional
boolean arguments. "estimate" defaults to
false. If set to true, it will ignore validating
the proof and return the proof that was collected.
The "verbose" option defaults to true, if set
to false it will return the proof in hex encoding
instead of JSON.
2020-04-30 11:27:32 -07:00
Mark Tyneway
f394a18514
node/http: use correct endianness for block hash 2020-04-29 19:26:44 -07:00
Mark Tyneway
36825359f0
node/http: get header by hash/height 2020-04-29 19:26:41 -07:00
Boyma
4178fd3c86
Merge pull request #426 from kilpatty/rpc-get-block-add-extra-nonce
rpc: add extra_nonce to block's JSON.
2020-04-19 15:19:45 -04:00
Mark Tyneway
cdeb5d0994
node/rpc: add validateresource
This new node RPC will verify Resource json.
It will be useful for users who are having trouble
building the correct Resource.
2020-04-17 18:15:28 -07:00
kilpatty
44bd1bf06d
rpc: add extra_nonce to header's JSON. 2020-04-16 14:44:57 -05:00
kilpatty
9bdbadba46
rpc: add extra_nonce to block's JSON. 2020-04-15 07:12:13 -05:00
Boyma
9d21a04ecd
Merge pull request #412 from pinheadmz/wallet2
wallet: port various fixes and improvements from bcoin
2020-04-02 15:09:15 -04:00
Boyma
3db8bf8b6a
Merge pull request #321 from tynes/block-rpc-fixes
node/rpc: getblock confirmation fixes
2020-03-31 15:23:06 -04:00
Boyma
14e0b83666
Merge pull request #201 from tynes/node-event-tree-commit
node: event tree commit
2020-03-30 18:57:16 -04:00
Braydon Fuller
8526a59326
node: remove unused code for spvnode 2020-03-30 10:06:02 -04:00
Boyma
ed53f5f885
Merge pull request #254 from tynes/expose-service-names
http: expose human readable service names
2020-03-26 15:22:18 -04:00
Christopher Jeffrey
5a322b725b
rpc: add "type" option to getpeerinfo. 2020-03-19 17:05:42 -07:00
Christopher Jeffrey
25d499dcc6
net: seperate regular address and brontide address. fix options parsing. 2020-03-05 10:34:20 -08:00
Christopher Jeffrey
2cfda9b77c
net: more improvements for p2p health. 2020-03-03 17:26:57 -08:00
Christopher Jeffrey
258e3afc00
node/seeder: sort addresses before serving. 2020-03-02 15:24:00 -08:00
Christopher Jeffrey
bbac8dd943
net: improve address management. 2020-03-02 14:14:36 -08:00
Christopher Jeffrey
f1231f7a2e
node/rpc: s/treeRoot/treeroot/ 2020-03-02 06:26:42 -08:00
Christopher Jeffrey
8f4f5fa730
node/rpc: fix raw output for getblockheader. fixes #373. 2020-03-02 06:21:45 -08:00
Matthew Zipkin
3fce45c1a9
chain: get BIP9 statistics 2020-02-19 14:05:16 -05:00
Matthew Zipkin
12a7a8337d
node: fix logger format for block hashes 2020-02-10 09:51:54 -05:00
Christopher Jeffrey
b80cd1fb1f
rpc: disable airdrops on testnet. 2020-02-01 22:18:44 -08:00
Christopher Jeffrey
4cb36cbe40
net: fix port selection elsewhere. 2020-02-01 15:12:40 -08:00
Christopher Jeffrey
bf2a654175
pkg: drop some old deps. 2020-01-31 02:42:12 -08:00
Christopher Jeffrey
f3334af7dc
node: expose dns seeder. 2020-01-31 02:03:05 -08:00
Christopher Jeffrey
77dbe2987c
node/rpc: do not activate softforks with getwork. 2020-01-29 05:44:51 -08:00
Christopher Jeffrey
b02c6049cf
node: add simple dns seed server. 2020-01-29 03:55:21 -08:00
Christopher Jeffrey
a72bab62a0
dns: implement new resource serialization. 2020-01-29 02:16:13 -08:00
Christopher Jeffrey
a333a24d40
net: use plaintext by default. various improvements. 2020-01-29 02:01:32 -08:00
Christopher Jeffrey
0623f4df05
Revert "Merge pull request #331 from tynes/p2p-brontide-safety"
This reverts commit 340952867a, reversing
changes made to e2039e8954.
2020-01-29 01:58:18 -08:00
Boyma
8252c97e89
Merge pull request #334 from tuxcanfly/getproof-sliding-window
getproof - dos prevention using sliding window counter
2020-01-26 17:33:48 -08:00