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

Mixing fixes #1

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Mixing fixes #1

wants to merge 21 commits into from

Conversation

sfriebe
Copy link
Collaborator

@sfriebe sfriebe commented Dec 17, 2018

No description provided.

sfriebe and others added 16 commits August 3, 2017 17:09
Existing bug: When a broadcast is send before the locktime
is done, the proof will break.
…ixing and restarting ptp/bitnym multiple times
- add mixAborted listener to notify gui if mixing has failed
- fix problem when broadcasts are received simultaneously on each side
- GUI shows correct pseudonym after mixing
- add timeout for sending broadcast
- add mixing started event listener
- catch more errors and abort mixing
- add own class for mix request messages
- send ptp data with message object
- add random time before sending broadcast
- add mixAbortMessage
- make name changes of peer on new pseudonym creation visible in gui
- fix compile error (TransactionGenerator)
- fix some mixing aborts caused by invalid partner proof
- fix invalid pseudonyms after mixing
- add more information on gui
src/bitnymWallet/BitNymWallet.java Outdated Show resolved Hide resolved
src/bitnymWallet/BitNymWallet.java Outdated Show resolved Hide resolved
src/bitnymWallet/BitNymWallet.java Outdated Show resolved Hide resolved
src/bitnymWallet/BitNymWallet.java Outdated Show resolved Hide resolved
@@ -87,7 +87,7 @@ public BitNymWallet() {
//MainClass.params = TestNet3Params.get();
MainClass.params = RegTestParams.get();
params = MainClass.params;
// TODO(PM) use context as parameter at certain methods to avoid bitcoin warinings
// TODO(PM) use context as parameter at certain methods to avoid bitcoinj warnings
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still a todo or is this done now?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still todo, but not really important

src/bitnymWallet/Mixer.java Show resolved Hide resolved
src/bitnymWallet/Mixer.java Outdated Show resolved Hide resolved
@@ -831,4 +850,13 @@ public Identifier getIdentifier() {
}
}

public void sendMessage(Object message, Identifier ident) {
try {
ptp.sendMessage(message, ident);
Copy link
Collaborator Author

@sfriebe sfriebe Dec 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this.ptp private? Not sure whether this is possible.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe possible but not so trivial

src/bitnymWallet/Mixer.java Outdated Show resolved Hide resolved
src/bitnymWallet/ProofMessage.java Outdated Show resolved Hide resolved
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.

2 participants