Open monoid-is-a-monad opened 3 days ago
case1: slot_no match, block_hash match -> don't do anything case2: slot_no match, block_hash NOT match -> update case1: slot_no NOT match, block_hash NOT match -> insert
Upsert logic for block
case1: slot_no match, block_hash match -> don't do anything case2: slot_no match, block_hash NOT match -> update case1: slot_no NOT match, block_hash NOT match -> insert