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

(WIP) AuxPoW: Miscellaneous gettransaction Tor improvements #183

Open
wants to merge 20 commits into
base: auxpow
Choose a base branch
from

Conversation

JeremyRand
Copy link
Member

Do not merge this; these will be submitted upstream after their dependencies are merged.

JeremyRand and others added 20 commits November 5, 2019 08:56
This is a rough port of abf12b6 by
rt121212121 from Electron-Cash.

Cherry-picked from c3399e0.
This makes it easier for Electrum forks to support alternate header
formats such as AuxPoW.

Cherry-picked from 2d2adb7.

Conflicts:
	electrum/blockchain.py
Move hash_merkle_root to blockchain.py to avoid circular imports.
TODO: Needs rebase once cp_height merged upstream.
TODO: Needs rebase once cp_height merged upstream.
The intended use case is that a user can create an SPV with wallet=None,
and call _request_and_verify_single_proof, which will raise an exception
if the verification failed.  In this use case, no data about the verified
transactions will be saved to a wallet.  The user is responsible for
making sure that the relevant headers have already been downloaded via
request_chunk.
TODO: Needs rebase once 5147, 5653, and 5660 merged upstream.
TODO: Needs rebase once 5147, 5653, and 5660 merged upstream.
TODO: Needs rebase once 5147, 5653, and 5660 merged upstream.
TODO: Needs rebase once 5147, 5653, and 5660 merged upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant