-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Various cleanup #432
Various cleanup #432
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
|
||
module.exports = { | ||
bitcoin: { | ||
magic: 0xd9b4bef9, | ||
messagePrefix: '\x18Bitcoin Signed Message:\n', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We haven't stored all the Open to ideas on this one, removing it for now. Technically this is a breaking change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Technically yes |
||
bip32: { | ||
public: 0x0488b21e, | ||
|
@@ -15,7 +14,6 @@ module.exports = { | |
dustThreshold: 546 // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162 | ||
}, | ||
testnet: { | ||
magic: 0xd9b4bef9, | ||
messagePrefix: '\x18Bitcoin Signed Message:\n', | ||
bip32: { | ||
public: 0x043587cf, | ||
|
@@ -27,7 +25,6 @@ module.exports = { | |
dustThreshold: 546 | ||
}, | ||
litecoin: { | ||
magic: 0xd9b4bef9, | ||
messagePrefix: '\x19Litecoin Signed Message:\n', | ||
bip32: { | ||
public: 0x019da462, | ||
|
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.
Moving away from
assert
as the string warning messages always get evaluated, which has lead to various performance issues in the past.It was nice while it lasted.