Rename CClaimTrieCache to CClaimTrieUpdateBuffer and separate in own file #160

Closed
bvbfan wants to merge 4 commits from seperate_disk_claim into seperate_disk_claim
bvbfan commented 2018-06-15 08:25:33 +02:00 (Migrated from github.com)

Signed-off-by: Anthony Fieroni bvbfan@abv.bg

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
bvbfan commented 2018-06-27 18:45:28 +02:00 (Migrated from github.com)

This is a code review can you ask here https://www.facebook.com/lbryio

This is a code review can you ask here https://www.facebook.com/lbryio
kaykurokawa commented 2018-07-11 19:12:33 +02:00 (Migrated from github.com)

CClaimTrie.nCurrentHeight has also been renamed to nNextHeight here (https://github.com/lbryio/lbrycrd/issues/138)

CClaimTrie.nCurrentHeight has also been renamed to nNextHeight here (https://github.com/lbryio/lbrycrd/issues/138)
BrannonKing (Migrated from github.com) reviewed 2018-07-18 16:32:13 +02:00
BrannonKing (Migrated from github.com) commented 2018-07-18 16:29:24 +02:00

The old code looked more correct to me. Why the change to an allocation? The modern c++ says that the new keyword is generally deprecated. Use std/boost::make_unique or make_shared if you really need to allocate on the heap, but try to avoid it generally.

The old code looked more correct to me. Why the change to an allocation? The modern c++ says that the `new` keyword is generally deprecated. Use `std/boost::make_unique` or `make_shared` if you really need to allocate on the heap, but try to avoid it generally.
bvbfan (Migrated from github.com) reviewed 2018-07-18 16:39:16 +02:00
bvbfan (Migrated from github.com) commented 2018-07-18 16:39:15 +02:00

Children are vector of shared pointers. new is not deprecated or so on

Children are vector of shared pointers. new is not deprecated or so on
kaykurokawa commented 2018-07-19 19:12:17 +02:00 (Migrated from github.com)

I had some problem rebasing this, there is basically a commit here:
7d321ec0ea which looks like a failed merge commit that contained elements from unrelated commits.

I've resolved this in https://github.com/lbryio/lbrycrd/pull/175 so will be closing this one.

In the future, I suggest that you rebase commits that you are working on top of master instead of merging it.

I had some problem rebasing this, there is basically a commit here: 7d321ec0eac0a9cb14a3ef078f134a87f6aed956 which looks like a failed merge commit that contained elements from unrelated commits. I've resolved this in https://github.com/lbryio/lbrycrd/pull/175 so will be closing this one. In the future, I suggest that you rebase commits that you are working on top of master instead of merging it.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#160
No description provided.