gpu-compute-chain/x/cosmostest/memdb
michael d6b4b51ca6 link up bid txs and memdb storage + key fixes
lfg it works
2022-08-30 23:29:04 +00:00
..
README.md WIP memdb system 2022-08-29 00:42:43 +00:00
biddb.go link up bid txs and memdb storage + key fixes 2022-08-30 23:29:04 +00:00
biddb_test.go unit test for new memdb bids getter 2022-08-30 21:43:42 +00:00

README.md

MemDB

Bidding Flow

flowchart 

s[Submit Bid] --> rdb{{Read MemBids}} --> h{Is Highest Bid?} 

h -- Yes --> m{{Add to MemBids}}
h -- No --> re1[[Error]]

m -- Every Block --> ae{Auction expired?}
ae -- Yes --> fh{{Find Highest Bid}}
ae -- No --> ca{{Check again}} -- Next block --> ae

fh -- Settle --> scs[(Chain State)]