gpu-compute-chain/x/colinear-core/memdb
michael 3fdcaf9a90 cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +00:00
..
README.md cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +00:00
biddb.go cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +00:00
biddb_test.go cosmostest -> colinear in dir structure 2022-09-05 23:03:12 +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)]