This PR updates the REST API routes with the following updates:
GET /memoryPool/solutions will now include the solutions in the inbound queue.
GET /memoryPool/transactions will now include the transactions in the inbound queue.
GET /memoryPool/transmissions will now include the transmissions in the inbound queue.
Added GET /stateRoot/:height to return a state root at the given block height
Added GET /find/blockHeight/:state_root to return the block height the given state root was created.
The getter functions unconfirmed_* has been renamed to worker_*. And new unconfirmed_* functions now include both the objects from the worker and the inbound queue.
Motivation
This PR updates the REST API routes with the following updates:
GET /memoryPool/solutions
will now include the solutions in the inbound queue.GET /memoryPool/transactions
will now include the transactions in the inbound queue.GET /memoryPool/transmissions
will now include the transmissions in the inbound queue.GET /stateRoot/:height
to return a state root at the given block heightGET /find/blockHeight/:state_root
to return the block height the given state root was created.The getter functions
unconfirmed_*
has been renamed toworker_*
. And newunconfirmed_*
functions now include both the objects from the worker and the inbound queue.