Move CWalletDB::ReorderTransactions to CWallet#8828
Merged
laanwj merged 1 commit intobitcoin:masterfrom Nov 2, 2016
Merged
Conversation
paveljanik
reviewed
Sep 30, 2016
src/wallet/walletdb.h
Outdated
Contributor
There was a problem hiding this comment.
Move this a line down because of the comment?
Contributor
|
test_bitcoin fails here: |
Member
|
Concept ACK |
Member
|
Regarding the Travis issue, I can reproduce this locally simply by running test_bitcoin: Assembly code: Looks lke a jump "between instructions" or such. Likely a messedup function pointer or other memory corruption. Weird. |
paveljanik
reviewed
Sep 30, 2016
src/wallet/wallet.cpp
Outdated
Contributor
There was a problem hiding this comment.
+wallet/wallet.cpp:684:14: warning: declaration shadows a field of 'CWallet' [-Wshadow]
+ int64_t& nOrderPosNext = nOrderPosNext;
+ ^
+./wallet/wallet.h:659:13: note: previous declaration is here
+ int64_t nOrderPosNext;
+ ^
+wallet/wallet.cpp:684:30: warning: reference 'nOrderPosNext' is not yet bound to a value when used within its own initialization [-Wuninitialized]
+ int64_t& nOrderPosNext = nOrderPosNext;
+ ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
+2 warnings generated.
Contributor
Author
There was a problem hiding this comment.
indeed that is the issue
paveljanik
reviewed
Sep 30, 2016
src/wallet/wallet.cpp
Outdated
Member
There was a problem hiding this comment.
Yes, I think this is the culprit. It's creating a strange circular reference.
With this line removed it passes the tests.
653f361 to
86029e7
Compare
laanwj
added a commit
that referenced
this pull request
Nov 2, 2016
86029e7 Move CWalletDB::ReorderTransactions to CWallet (Patrick Strateman)
codablock
pushed a commit
to codablock/dash
that referenced
this pull request
Jan 13, 2018
86029e7 Move CWalletDB::ReorderTransactions to CWallet (Patrick Strateman)
andvgal
pushed a commit
to energicryptocurrency/gen2-energi
that referenced
this pull request
Jan 6, 2019
86029e7 Move CWalletDB::ReorderTransactions to CWallet (Patrick Strateman)
CryptoCentric
pushed a commit
to absolute-community/absolute
that referenced
this pull request
Feb 15, 2019
86029e7 Move CWalletDB::ReorderTransactions to CWallet (Patrick Strateman)
zkbot
added a commit
to zcash/zcash
that referenced
this pull request
Aug 12, 2021
[Backport] bitcoin/bitcoin#13825 kill accounts This is a backport of the following commits: - from bitcoin/bitcoin#13825 - pick bitcoin/bitcoin@c9c32e6 - from bitcoin/bitcoin#14023 - pick bitcoin/bitcoin@f0dc850 - from bitcoin/bitcoin#13566 - pick bitcoin/bitcoin@702ae1e - pick bitcoin/bitcoin@cf15761 - pick bitcoin/bitcoin@0f3d6e9 - pick bitcoin/bitcoin@7110c83 - pick bitcoin/bitcoin@ef7bc88 - pick bitcoin/bitcoin@4279da4 - pick bitcoin/bitcoin@c410f41 - from bitcoin/bitcoin#9614 - pick bitcoin/bitcoin@02d9f50 - pick bitcoin/bitcoin@82b7dc3 - from bitcoin/bitcoin#8061 - pick bitcoin/bitcoin@ecb9741 - from bitcoin/bitcoin#6851 - pick bitcoin/bitcoin@3e7c89196c - from bitcoin/bitcoin#8828 - pick bitcoin/bitcoin@86029e7 - from bitcoin/bitcoin#8696 - just the first two commits, as AccountingEntry is going away - pick bitcoin/bitcoin@d2e678d - pick bitcoin/bitcoin@59adc86 - from bitcoin/bitcoin#8028 - pick bitcoin/bitcoin@0fd5997
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CWalletDB was never the right place for this.