Blockchain: get() method shall be refactored
See here (chain/blockchain.ts):
//@FIXME the behaviour (either gte and lte OR limit) is crap async get(limit: number = 0, gte: number = 0, lte: number = 0): Promise<Array<BlockStruct>>
This get() method is weird and difficult to test - it tries to cover several use cases in one single function. It might make lots of sense to split it into several methods, like getLastBlocks(limit: number) or ....
Then net/api.ts must be adapted to reflect the changes.
The explorer will also be affected.
Deleting a branch is permanent. It CANNOT be undone. Continue?