hexresearch / hschain

Other
4 stars 0 forks source link

Move coin-related API to H.E.Coin.API and factor out common API #688

Closed Shimuuar closed 4 years ago

Shimuuar commented 4 years ago

REST API specific to mock is moved to module HSChain.Examples.Coin.API. At the same time generic parts of API (so far only posting of Tx is factored out and left in HSChain.PoW.API.

Generic API could see some improvements. For starters t should check whether tx was rejected immediately or not. As well as adding more queries about mempool state but that could be done later