You are viewing a single comment's thread from:

RE: Segment Marketing vs. General Marketing

in #steem7 years ago (edited)

That's a good point. And actually, all you need is the referenced block_num and you can infer that it contains at least one related transaction. You would avoid storing the trx_id to save on custom_json op size, which is pretty cramped right now.

I guess the only problem with that is if you write records asynchronously with more than one thread. Even if there's only one thread, if that thread crashes after successfully broadcasting a valid record, but before storing the current state, that valid record will become an orphan in the list.

Sort:  

Yeah, the only problem is parallelism. You'd have to enforce serialization on the server which does the writing.

You don't even have to use the tx_id, you could use the tx number in the block.

Coin Marketplace

STEEM 0.06
TRX 0.28
JST 0.045
BTC 63018.89
ETH 1820.40
USDT 1.00
SBD 0.50