Unsafe
Unsafe APIs
Dial Seeds (Unsafe)
GET
/dial_seedsDial a peer, this route in under unsafe, and has to manually enabled to use
Example: curl 'localhost:26657/dial_seeds?seeds=["[email protected]:26656","[email protected]:26656"]'
Add Peers/Persistent Peers (unsafe)
GET
/dial_peersSet a persistent peer, this route in under unsafe, and has to manually enabled to use.
Example: curl 'localhost:26657/dial_peers?peers=["[email protected]:26656","[email protected]:26656"]&persistent=false'
Flush mempool of all unconfirmed transactions
GET
/unsafe_flush_mempoolFlush flushes out the mempool. It acquires a read-lock, fetches all the transactions currently in the transaction store and removes each transaction from the store and all indexes and finally resets the cache.
Note, flushing the mempool may leave the mempool in an inconsistent state.