Commit graph

461 commits

Author SHA1 Message Date
Matthew Zipkin
6067f49d28
node: clear up pool host/port and add verbose public details 2022-08-04 13:51:08 -04:00
Matthew Zipkin
1cb52a0050
node-rpc: add safe height option to all namestate requests (for SPV) 2022-08-03 16:28:36 -04:00
Matthew Zipkin
8d6ddd7cae
node-rpc decoderesource 2022-07-05 12:52:22 -04:00
Nodari Chkuaselidze
ee5d45fa31
fullnode: reemit abort and let bin handle the shutdown. 2022-06-07 10:17:06 -04:00
Matthew Zipkin
4c665cb42b
node: listen for abort event from plugins 2022-06-07 10:17:06 -04:00
Matthew Zipkin
f3d1856fb7
chain, node: catch critical errors and shut down 2022-06-07 10:17:06 -04:00
Nodari Chkuaselidze
05ed36972a
chain: Fix migration for the SPV.
Minor nits and updates.
2022-06-03 19:37:24 +04:00
Nodari Chkuaselidze
5b89d917d0
chain: Add tree commit height to the tree state.
Add reconstruct tree RPC call.
Make TreeState safe.
2022-06-03 19:37:21 +04:00
Nodari Chkuaselidze
95769d90b4
chain: add compaction interval, events and rpc call. 2022-06-03 19:37:21 +04:00
Matthew Zipkin
d71393f0cb
node: parse config arg to compact tree on launch 2022-05-19 17:36:25 +04:00
Matthew Zipkin
a53f87755e
Merge PR #723 from 'nodech/localhost' 2022-05-16 14:57:11 -04:00
Nodari Chkuaselidze
22665a3f7e
hsd: use 127.0.0.1 by default. 2022-05-13 22:30:19 +04:00
Nodari Chkuaselidze
51f22621af
chain: return fork to reorganize event. 2022-05-13 12:20:42 +04:00
Matthew Zipkin
36060eebd5
net: propagate the user agent from node to pool
Co-authored-by: Fernando Falci <fernando.falci@adevinta.com>
2022-04-24 11:24:14 -04:00
Matthew Zipkin
9c00cff71a
http: lint 2022-03-02 14:42:16 -05:00
Luke Burns
a286900dac HTTPOptions this.host = 'localhost' 2022-01-19 14:13:44 -05:00
Luke Burns
fcab6813cf add localhost to no-auth list 2022-01-19 13:58:19 -05:00
Fernando Falci
84e00f169d
fix(rpc): Can't sign/verify with name before auction is closed. 2022-01-06 18:45:54 -03:00
Nodari Chkuaselidze
a1e6f8454a
node-rpc: clean up hex32 method. 2021-12-15 17:30:55 +04:00
Matthew Zipkin
a5278912ad
node/miner: remove covert signaling
Patial revert of 0603531e70
2021-11-03 13:45:16 -04:00
Matthew Zipkin
c9801ad5bb
node: pass max file size to logger 2021-10-12 17:56:28 -04:00
Matthew Zipkin
07d856dfea
dns: set both servers' SIG0 with one option and test 2021-09-28 11:32:38 -04:00
Mark Tyneway
503634f1da
node: use sig0 config option 2021-09-28 10:44:31 -04:00
Mark Tyneway
9e4abb6a51 blockstore: integration 2021-09-03 23:23:59 +04:00
Nodari Chkuaselidze
31efc01227 migrations: migrate flag is now a number. 2021-07-31 22:05:44 +04:00
Nodari Chkuaselidze
f1f831973f migrations: rename migrations to migrator.
migrations: nits.
2021-07-31 22:05:44 +04:00
Nodari Chkuaselidze
7e0f29b280 migration: add migration flag to nodes.
Add info to the migrations.
2021-07-31 22:05:44 +04:00
Matthew Zipkin
723d1735a4
chain: remove forceflags 2021-07-31 14:03:34 -04:00
Fernando Falci
f1e096ff1f
No help & no wallet unlock check 2021-06-09 19:29:29 +02:00
Fernando Falci
c99b249d9c
More unit tests 2021-06-09 17:40:26 +02:00
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