-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Mixing fixes #1
Conversation
Existing bug: When a broadcast is send before the locktime is done, the proof will break.
work with the demonstrator.
…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
…avoid bitcoinj warning
- 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
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
@@ -831,4 +850,13 @@ public Identifier getIdentifier() { | |||
} | |||
} | |||
|
|||
public void sendMessage(Object message, Identifier ident) { | |||
try { | |||
ptp.sendMessage(message, ident); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
# Conflicts: # src/bitnymWallet/ChallengeResponseVerifier.java
No description provided.