Nodari Chkuaselidze
618ead29b9
pkg: update dependencies and npmignore.
2025-07-03 16:49:42 +04:00
Nodari Chkuaselidze
c38e4b9298
chain: add getEntries, similar to getHashes.
2024-08-29 13:31:02 +04:00
Nodari Chkuaselidze
b01c806758
node-http: Add get median time to node http.
2024-08-29 13:30:39 +04:00
Nodari Chkuaselidze
57194f4cd6
http: interactive rescan will now throw on socket.call similar to rescan.
2024-08-20 15:33:49 +04:00
Nodari Chkuaselidze
8affe9570d
node: add fullLock option to the interactive rescan.
...
Interactive rescan by default does per block scan lock. This enables
parallel rescans, as well as chain sync while rescan is in progress. But
in specific cases, it may be more beneficial to stop the node from
syncing while the rescan is in progress.
2024-08-20 15:33:42 +04:00
Nodari Chkuaselidze
a694ad759a
chain: rename scanAction to scanActions.
2023-12-13 12:32:42 +04:00
Nodari Chkuaselidze
64c12dbc31
node-http: implement interactive rescan for http.
2023-12-13 12:32:38 +04:00
Nodari Chkuaselidze
9659699d51
tx: rename test to testAndMaybeUpdate.
...
tx: Add .test method that does not update the filter.
2023-12-13 12:29:33 +04:00
Nodari Chkuaselidze
919cf24eba
node-http: add more details to the getinfo.
2023-10-27 13:30:07 +04:00
Nodari Chkuaselidze
1cc63b5dda
pkg: update bdb to 1.5.1 and use @handshake-org/bfilter.
2023-09-27 13:12:06 +04:00
Nodari Chkuaselidze
2a04e60efa
http: update validator status codes.
2023-05-30 16:44:12 +04:00
Matthew Zipkin
6067f49d28
node: clear up pool host/port and add verbose public details
2022-08-04 13:51:08 -04:00
Nodari Chkuaselidze
22665a3f7e
hsd: use 127.0.0.1 by default.
2022-05-13 22:30:19 +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
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
14e0b83666
Merge pull request #201 from tynes/node-event-tree-commit
...
node: event tree commit
2020-03-30 18:57:16 -04:00
Christopher Jeffrey
25d499dcc6
net: seperate regular address and brontide address. fix options parsing.
2020-03-05 10:34:20 -08:00
Christopher Jeffrey
bf2a654175
pkg: drop some old deps.
2020-01-31 02:42:12 -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
Mark Tyneway
d5cfb7887b
p2p: standard and brontide peering
...
Separate the brontide and plaintext servers
so that peers can network over either.
2020-01-25 20:00:00 -08:00
Mark Tyneway
71a367770f
node: emit tree commits over websocket
...
Emit an event over websockets for the chain's 'tree commit'
event. NodeClient or any websocket client can listen to these
events.
2019-06-21 11:09:36 -06:00
Christopher Jeffrey (JJ)
cc1ef7ab8d
Merge pull request #186 from tynes/rpc-expose-identity-key
...
rpc and http expose identity key
2019-06-21 06:09:17 -07:00
Christopher Jeffrey (JJ)
6486eb9aa2
Merge pull request #189 from tynes/mempool-reject-api
...
mempool: expose mempool rejection filter to api
2019-06-21 06:04:50 -07:00
Mark Tyneway
e5df1aa1ac
node/http: add claims, airdrops, orphans
...
Add additional fields to the response of node
HTTP `GET /`. The new fields can be found at
.mempool.{claims,airdrops,orphans}.
2019-05-30 10:53:40 -07:00
Mark Tyneway
571ba4ff5c
mempool: expose mempool rejection filter to api
2019-05-27 12:27:48 -07:00
Mark Tyneway
b4368e109b
node/http: return base32 encoded identitykey
...
Add the identity key to the response of `GET /`
at .pool.identitykey.
2019-05-24 17:59:11 -07:00
Boyma
4db8f9c6f0
Merge pull request #156 from kilpatty/node-http-reset-enforce
...
http: add check for height being below tip
2019-05-19 09:20:22 -07:00
Mark Tyneway
5be3eec33b
node/http: add db state info to response
...
Add an object for the db state at `.chain.state`
that has the fields `tx`, `coin`, `value`, `burned`.
These values are pulled from the `chain.db.state`.
2019-05-13 17:20:25 -07:00
Mark Tyneway
7697b073fc
node/http: expose treeRoot of tip
...
`GET /` will now return the chain tip's
`treeRoot` property at `.chain.treeRoot`.
2019-05-03 22:01:17 -07:00
kilpatty
2a5933fdec
node-http: add check for height being below tip
...
This commit simply adds an enforce line to check that the height being
requested to reset to is below the chain tip. This way we return a bad
request error rather than a internal server error.
2019-04-30 18:28:14 -05:00
Matthew Zipkin
990493256a
http: identify node/wallet in log
2019-02-05 10:34:50 -08:00
Christopher Jeffrey
ee20997321
deps: upgrade to modern bns and bcrypto.
2018-09-29 14:51:22 -07:00
Boyma Fahnbulleh
a89938a270
http: include warning of deprecation
2018-09-26 17:43:29 -07:00
Boyma Fahnbulleh
370833fac8
http: account for network when creating Address
2018-09-21 13:18:41 -07:00
lanford
36dcacdbda
node/http: fix address type in http api
2018-09-17 16:43:56 +08:00
lanford
261ec36c55
fix: address type in http api /coin/address and /tx/address
2018-08-08 18:42:20 +08:00
Anthony Liu
3cae6a773b
Use an address object in the coin address endpoint.
2018-08-08 02:16:33 -07:00
Christopher Jeffrey
a03fcd1a23
pkg: rename to hsd.
2018-08-01 20:00:09 -07:00
Christopher Jeffrey
33e9140ab2
namestate: cleanup.
2018-07-31 19:58:47 -07:00
Christopher Jeffrey
b8fb76e813
covenants: rename auction to namestate.
2018-07-31 19:54:40 -07:00
Christopher Jeffrey
13d2197b76
covenants: store all name state in the urkel tree.
2018-07-31 19:04:06 -07:00
Christopher Jeffrey
169da98147
pkg: update deps. remove build.
2018-07-19 05:40:48 -07:00
Christopher Jeffrey
d4782e0cc1
hskd: switch to buffer maps and structs.
2018-07-15 06:22:25 -07:00
Christopher Jeffrey
8ce798dda9
covenants: commit auction state to tree. add OPEN covenant.
2018-07-11 23:35:09 -07:00
Christopher Jeffrey
9a0cc84a59
hskd: backport various bcoin fixes.
2018-07-10 19:16:08 -07:00
Christopher Jeffrey
ddd06adbb7
wallet/db: improvements to auction state handling.
2018-07-10 16:23:52 -07:00
Christopher Jeffrey
285ac862b7
consensus: implement permissionless claim proofs.
2018-07-07 16:33:56 -07:00