Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wallet] [zk] Properly introduce UpdateNullifierNoteMap(WithTx) to AddToWallet #44

Open
ch4ot1c opened this issue Jul 21, 2018 · 2 comments
Assignees

Comments

@ch4ot1c
Copy link
Contributor

ch4ot1c commented Jul 21, 2018

Zcash:
https://github.com/zcash/zcash/blob/13b41a6760c67524dd77afc67e7d556ec1ea71be/src/wallet/wallet.cpp#L1114
bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet, CWalletDB* pwalletdb);

https://github.com/zcash/zcash/blob/13b41a6760c67524dd77afc67e7d556ec1ea71be/src/wallet/wallet.cpp#L1263
bool AddToWalletIfInvolvingMe(const CTransactionRef& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);

Bitcoin signatures:
bool AddToWallet(const CWalletTx& wtxIn, bool fFlushOnClose=true);
bool AddToWalletIfInvolvingMe(const CTransactionRef& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ch4ot1c
Copy link
Contributor Author

ch4ot1c commented Jul 21, 2018

#35 puts us on track for this change

@ch4ot1c
Copy link
Contributor Author

ch4ot1c commented Oct 2, 2018

IncOrderPosNext takes a WalletDB in Zcash, but WalletBatch in Bitcoin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant