mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
9440126ddf
* Enable the `clique` option in the `--http.api` flag. * List of Clique commands: `clique_getSnapshot(block number)` `clique_getSnapshotAtHash(block hash)` `clique_getSnapshotAtHash(block hash)` `clique_getSigners(block number)` `clique_getSignersAtHash(block hash)` `clique_proposals()` `clique_propose(signer address, bool)` `clique_discard(signer address)` `clique_status()` Example: `curl --data '{"method":"clique_getSigners","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST http://localhost:8545` * Please be careful while using the Clique API. Do not make the HTTP API public on the Clique's signer node, as anyone can directly call a Clique command. Instead, it should only be allowed in the localhost by using the flag `--http.addr "127.0.0.1"`. |
||
---|---|---|
.. | ||
aura | ||
bor | ||
clique | ||
db | ||
ethash | ||
misc | ||
serenity | ||
chain_reader.go | ||
consensus.go | ||
errors.go | ||
result.go |