BigBang icon indicating copy to clipboard operation
BigBang copied to clipboard

CTxPool::AddNew和CTxPoolView::AddNew如果失败时要考虑数据回滚

Open sunhantao opened this issue 5 years ago • 1 comments

原来是全部校验好了,再AddNew,一定成功。现在规则复杂了,有return false的分支,但是return之前保存的数据应该回滚

sunhantao avatar Apr 26 '20 09:04 sunhantao

之前做TXPOOL的时候就提过这个事,能处理回滚最好的

cchanm avatar Apr 27 '20 06:04 cchanm