BuildOnViction/tomochain-v1

Override createdAt, updatedAt in mongodb orders by txMatches timestamp or block timestamp

thanhson1085 opened this issue · 1 comments

Fullnode SDK generate createdAt and updated at the time it inserts orders to the mongodb.
But it will be incorrect if the node sync old data.

So we need to override createdAt, updatedAt in mongodb orders by txMatches timestamp order block timestamp