Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Invalid checkpoint found! #100
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
kha0S
commented
Nov 9, 2015
mably
commented
Nov 9, 2015
|
Hi @kha0S, could you detail a bit more your analysis of what happened exactly? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Thireus
Nov 9, 2015
I can confirm Peercoin's blockchain was forked.
You can verify it here:
- http://bkchain.org/ppc/block/388c5c875d1ab37ff7b9329a12a415e43e38335316a5caa982fc3a373a32e93d
- https://bitinfocharts.com/ppcoin/block/204613/388c5c875d1ab37ff7b9329a12a415e43e38335316a5caa982fc3a373a32e93d
The next blocks of bkchain.org and bitinfocharts.com are on two separate blockchains. Action must be taken rapidly to prevent double spending (i.e. if BTC-E and Shapeshift are on two separate forks, everyone will be able to double their money).
Thireus
commented
Nov 9, 2015
|
I can confirm Peercoin's blockchain was forked. You can verify it here:
The next blocks of bkchain.org and bitinfocharts.com are on two separate blockchains. Action must be taken rapidly to prevent double spending (i.e. if BTC-E and Shapeshift are on two separate forks, everyone will be able to double their money). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
kha0S
Nov 9, 2015
Hi @mably.
@Thireus has already explained. I can confirm also, that my pool (http://give-me-coins.com) has nodes on both forks. Payments have been disabled to prevent abuse.
kha0S
commented
Nov 9, 2015
|
Hi @mably. @Thireus has already explained. I can confirm also, that my pool (http://give-me-coins.com) has nodes on both forks. Payments have been disabled to prevent abuse. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 9, 2015
Member
Some nodes are rejecting block 8350ac92844dfe4d8308d06fc4ecf379a98b0657f8b6435546f620888174adcc because they consider one of the included signatures is invalid. Other nodes (including the one propagating the sync checkpoints) have considered it valid. I'm not sure why this is happening.
|
Some nodes are rejecting block 8350ac92844dfe4d8308d06fc4ecf379a98b0657f8b6435546f620888174adcc because they consider one of the included signatures is invalid. Other nodes (including the one propagating the sync checkpoints) have considered it valid. I'm not sure why this is happening. |
|
I was able to make a node accept the signature by applying this patch: 3320650 But it didn't work on some other nodes. The node where it worked has openssl > 1.0.1k. The other nodes have openssl < 1.0.1k. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 9, 2015
How severe is this? Should we make a statement calling attention to it for exchanges etc.?
jooize
commented
Nov 9, 2015
|
How severe is this? Should we make a statement calling attention to it for exchanges etc.? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
kha0S
commented
Nov 9, 2015
|
I've locked my pool payments. Exchanges should do the same... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mably
commented
Nov 9, 2015
|
Looks like funds are locked on btc-e already. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
miguelangel-nubla
commented
Nov 9, 2015
|
I dont see any actions locked on btc-e |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mably
commented
Nov 9, 2015
|
Deposits are not showing even after 6 confirmations, I've tested it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
miguelangel-nubla
Nov 9, 2015
That should mean you are on a different fork thank btc-e, double spending should be possible.
miguelangel-nubla
commented
Nov 9, 2015
|
That should mean you are on a different fork thank btc-e, double spending should be possible. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
erasmospunk
Nov 9, 2015
As reported by @glv2 and @sigmike the fork happened due to the transaction with id 2d00a7349e5d281406a9e78c3af5d14dd0b3df2dedbc61c08e02e909797c6ecf.
I tried to verify it with Coinomi's bitcoinj and it fails because this BER signature uses a 5 byte length field:
3085000000004502...
Notice that 0x850000000045 encodes the size of the signature: 0x85 > 0x7f (127 bytes) so read the next 0x85 & 0x7f == 0x05 5 bytes to get the size of the signature 0x0000000045 == 69 bytes. Usually this field would be 0x45 instead of 0x850000000045 to encode the small signature.
Now the problem is that OpenSSL has a bug where you cannot store 5 bytes in a long int on a 32bit machine and this is what caused the consensus fork.
Was this intentional? This transaction has 1 input and 1 output (this is rare), the amounts are suspiciously round (0.1 PPC input, 0.05 PPC output and 0.05PPC fee) and lastly why use 0x850000000045 vs 0x45 to encore the size of the signature?
In bitcoin, this issue was solved with BIP66. Read here for more info:
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-July/009697.html
https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
erasmospunk
commented
Nov 9, 2015
|
As reported by @glv2 and @sigmike the fork happened due to the transaction with id 2d00a7349e5d281406a9e78c3af5d14dd0b3df2dedbc61c08e02e909797c6ecf. I tried to verify it with Coinomi's bitcoinj and it fails because this BER signature uses a 5 byte length field: Notice that Now the problem is that OpenSSL has a bug where you cannot store 5 bytes in a Was this intentional? This transaction has 1 input and 1 output (this is rare), the amounts are suspiciously round (0.1 PPC input, 0.05 PPC output and 0.05PPC fee) and lastly why use In bitcoin, this issue was solved with BIP66. Read here for more info: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-July/009697.html |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 9, 2015
Member
Indeed someone certainly exploited the bug found by Pieter Wuille. The network is probably split between 64 bits Linux systems and 32 bits Linux + all Windows systems. Exchanges and other users should be warned.
|
Indeed someone certainly exploited the bug found by Pieter Wuille. The network is probably split between 64 bits Linux systems and 32 bits Linux + all Windows systems. Exchanges and other users should be warned. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mably
commented
Nov 9, 2015
|
What about SK synchronized checkpointing? Looks like it was done on Linux 64. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 9, 2015
Member
Probably.
But on a 64 bits system I still had to apply the patch mentioned above to make it accept the signature.
The nodes that still rejected the signature after the patch are 32 bits.
|
Probably. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
paumiau
Nov 9, 2015
Thanks! I'll try the patch
My pool payments keeps stopped from the beginning of the bug
paumiau
commented
Nov 9, 2015
|
Thanks! I'll try the patch |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
randuev
Nov 9, 2015
does it mean we have to sync the repo up to bitcoin core 0.10 in order to fix this? or should we just port signature bugfix into 0.5?
randuev
commented
Nov 9, 2015
|
does it mean we have to sync the repo up to bitcoin core 0.10 in order to fix this? or should we just port signature bugfix into 0.5? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
chemicstry
commented
Nov 9, 2015
|
so the linux x64 chain fork is the correct one? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
mably
Nov 9, 2015
@sigmike are you in touch with @sunnyking about this issue? Is he working on a fix?
mably
commented
Nov 9, 2015
|
@sigmike are you in touch with @sunnyking about this issue? Is he working on a fix? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 9, 2015
Would the following be an appropriate warning to post on r/Peercoin?
ATTENTION: Peercoin's blockchain has forked because of a bug. Exchanges and users should be warned to be wary of making transactions!
Information and discussion at GitHub and PeercoinTalk (also see the chatbox).
Update: Warning posted.
jooize
commented
Nov 9, 2015
|
Would the following be an appropriate warning to post on r/Peercoin?
Information and discussion at GitHub and PeercoinTalk (also see the chatbox). Update: Warning posted. |
|
@mably no, I sent him an email but I didn't get an answer yet. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
erasmospunk
Nov 9, 2015
Here is the neutralized version of this transaction, just in case:
010000003b5d405601b8619c01f98c8f01aa0db29155ae61e209809c71c011da630b18743a51d99be1010000006b4830450221009802e19f86a3d348218a180599cd4488da687c250b850788b43427d277e4981002202a52418c497dd9ba9e5b97f1cb4de8b683e2ad9efe9f95f763022b23d2c5ee4e0121028a2d8bdcb6f0210fab72c19c63c513818ec19289e4002f9057555b5057dde7c5ffffffff0150c30000000000001976a9146f8dd023bbbe103c661c5c6ac8b43f46f795fba988ac00000000
erasmospunk
commented
Nov 9, 2015
|
Here is the neutralized version of this transaction, just in case:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Mullick
Nov 9, 2015
Just to clarify the block with the signature will be accepted as the valid chain going forward correct?
I could apply the patch now but will likely wait to see how things shake out over the next 24 hours.
Also why if the patch still needs to be applied to 64 bit nodes did the checkpointing node accept the block? Is it not running the latest stable release?
Mullick
commented
Nov 9, 2015
|
Just to clarify the block with the signature will be accepted as the valid chain going forward correct? Also why if the patch still needs to be applied to 64 bit nodes did the checkpointing node accept the block? Is it not running the latest stable release? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
kha0S
Nov 9, 2015
I notified btc-e to lock PPC transactions. If anyone has contacts with other exchanges, please do the same.
kha0S
commented
Nov 9, 2015
|
I notified btc-e to lock PPC transactions. If anyone has contacts with other exchanges, please do the same. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 9, 2015
Tweeted a warning and mentioned some exchanges (@exchange). Please add others you're aware of. I have no huge amount of relevant followers on Twitter, unfortunately.
We have a list of exchanges at Peercoin.net in case someone's looking for one.
jooize
commented
Nov 9, 2015
|
Tweeted a warning and mentioned some exchanges ( We have a list of exchanges at Peercoin.net in case someone's looking for one. |
|
I wrote a quick fix here: 4f3f5d8, in the |
|
Commit 3320650 is also required if you have OpenSSL 1.0.1k or above. It's included in the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
chemicstry
Nov 10, 2015
Thanks for the fix. However, I'm a bit confused on which chain is the correct one. Is it the one that has that transaction or the one that doesn't?
chemicstry
commented
Nov 10, 2015
|
Thanks for the fix. However, I'm a bit confused on which chain is the correct one. Is it the one that has that transaction or the one that doesn't? |
added a commit
to doged/dogedsource
that referenced
this issue
Nov 10, 2015
bearsylla
commented
Nov 10, 2015
|
@jooize I have informed BTC38 and they already suspended their deposit/withdrawal |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 10, 2015
Member
Since the sync checkpoints are following the chain that includes that transaction I wrote the fix to make everyone join this chain. So it's probably going to be the chain including the block 8350ac92844dfe4d8308d06fc4ecf379a98b0657f8b6435546f620888174adcc and the transaction with the crafted signature.
|
Since the sync checkpoints are following the chain that includes that transaction I wrote the fix to make everyone join this chain. So it's probably going to be the chain including the block 8350ac92844dfe4d8308d06fc4ecf379a98b0657f8b6435546f620888174adcc and the transaction with the crafted signature. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 10, 2015
@bearsylla Great!
@sigmike Is the der_length_fix branch “feature complete” for the bug?
Is there one link that can be shared for simplicity? Basically, what do we tell everybody?
jooize
commented
Nov 10, 2015
|
@bearsylla Great! @sigmike Is the der_length_fix branch “feature complete” for the bug? Is there one link that can be shared for simplicity? Basically, what do we tell everybody? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 10, 2015
Member
I guess it would probably be good to wait for @sunnyking and other developers to review the patch before deploying it everywhere.
|
I guess it would probably be good to wait for @sunnyking and other developers to review the patch before deploying it everywhere. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 10, 2015
Are these the recommended actions?
- Suspend transactions with Peercoin.
- Evaluate ppcoin#101 and await validation from other developers. Exercise caution in deploying the fix before then.
Will a Peercoin reference wallet release be made with this fix before v0.5?
jooize
commented
Nov 10, 2015
|
Are these the recommended actions?
Will a Peercoin reference wallet release be made with this fix before v0.5? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
brossi
Nov 10, 2015
@sigmike and @glv2 -- Peerunity has the OpenSSL / DER signature patch already. Will there need to be any additional changes made to introduce the length fix, or is the Peerunity client already behaving as expected and dealing with the maliciously crafted transaction?
brossi
commented
Nov 10, 2015
|
@sigmike and @glv2 -- Peerunity has the OpenSSL / DER signature patch already. Will there need to be any additional changes made to introduce the length fix, or is the Peerunity client already behaving as expected and dealing with the maliciously crafted transaction? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
erasmospunk
Nov 10, 2015
@brossi we are running Peerunity and it still accepted the block with the BER signtature transaction
erasmospunk
commented
Nov 10, 2015
|
@brossi we are running Peerunity and it still accepted the block with the BER signtature transaction |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
zimbo123
Nov 10, 2015
no, don't work, only for some minutes. :-(
After more then 2 Connections, i got the error again.
zimbo123
commented
Nov 10, 2015
|
no, don't work, only for some minutes. :-( |
paumiau
commented
Nov 10, 2015
|
@zimbo123: ¿Is your openssl updated? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
zimbo123
commented
Nov 10, 2015
|
no, apt-get update openssl ? |
ghost
commented
Nov 10, 2015
|
@BorilloB - I also used 0.5 all you have to do is pull the branch and then checkout that branch Example: recompile and enjoy |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
glv2
Nov 10, 2015
@gigatux, if you can't use ppcoin, you can try the peerunity version at https://github.com/glv2/peerunity which contains the patches (note: it also contains other stuff, like protocol 0.5, etc.).
glv2
commented
Nov 10, 2015
|
@gigatux, if you can't use ppcoin, you can try the peerunity version at https://github.com/glv2/peerunity which contains the patches (note: it also contains other stuff, like protocol 0.5, etc.). |
sigmike
referenced this issue
in Peerunity/Peerunity
Nov 10, 2015
Merged
Fix invalid signature with crafted length #179
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 10, 2015
Member
@gigatux I pushed a branch on peerunity with the fix: https://github.com/Peerunity/Peerunity/tree/der_length_fix
@glv2 Peerunity contains only one of the patches, that solves the problem on Linux 64 bits with OpenSSL 1.0.1k+. It doesn't solve the problem on Linux 32 and Windows 32 or 64. The branch I mentioned above does.
I also made a Peerunity 0.1.3 branch and a v0.1.3-RC1 tag. I don't have the tools to build Peerunity binaries.
|
@gigatux I pushed a branch on peerunity with the fix: https://github.com/Peerunity/Peerunity/tree/der_length_fix @glv2 Peerunity contains only one of the patches, that solves the problem on Linux 64 bits with OpenSSL 1.0.1k+. It doesn't solve the problem on Linux 32 and Windows 32 or 64. The branch I mentioned above does. I also made a Peerunity |
|
@glv2 oh sorry you mentioned your own Peerunity repo which contains the patch. |
MatthewLM
commented
Nov 10, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
gigatux
Nov 10, 2015
@sigmike @glv2 @MatthewLM Yeah, this would be using it on live and I'd rather not. I'll just keep PPC off / hidden until a 0.4 patch has been applied to peerunity.
gigatux
commented
Nov 10, 2015
|
@sigmike @glv2 @MatthewLM Yeah, this would be using it on live and I'd rather not. I'll just keep PPC off / hidden until a 0.4 patch has been applied to peerunity. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
glv2
Nov 10, 2015
The 0.1.3 branch of Peerunity (https://github.com/Peerunity/Peerunity/tree/0.1.3) only contains the patch to solve the fork (not the v0.5 patches).
glv2
commented
Nov 10, 2015
|
The 0.1.3 branch of Peerunity (https://github.com/Peerunity/Peerunity/tree/0.1.3) only contains the patch to solve the fork (not the v0.5 patches). |
gigatux
commented
Nov 10, 2015
|
@glv2 Thanks. That seems to work - it disconnected about 75 blocks before connecting 73. I'm on block 204686 now. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
zimbo123
Nov 10, 2015
i upgrade my wallet to v0.5.0ppc.rc1-beta and have installed openssl 1.0.1f
But always the same error.
zimbo123
commented
Nov 10, 2015
|
i upgrade my wallet to v0.5.0ppc.rc1-beta and have installed openssl 1.0.1f |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
v0.5.0ppc.rc1 doesn't include the fix. Use v0.4.1ppc.rc1. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 10, 2015
Updated recommendations (2015–11–15):
Exchanges:
- Suspend transactions with Peercoin!
- Upgrade to Peercoin v0.4.1ppc.rc1 at https://github.com/ppcoin/ppcoin/releases/tag/v0.4.1ppc.rc1
- Note: v0.5.0ppc.rc1 does not include the fix.
- Carefully resume operations.
Users:
- Don't send or request coins!
- Please always backup wallet (via the wallet menu, don't just copy wallet.dat) before proceeding. Also note down your total balance/stake.
- Uninstall your wallet software.
- Install updated wallet software. Peerunity v0.1.3 RC1 is available for all platforms. Peercoin-Qt reference wallet v0.4.1 RC1 for Windows and Linux released. OS X build is being worked on.
- Sunny King describes how to confirm you're on the “supported” blockchain.
- Confirm any exchange you use has upgraded before sending or withdrawing coins, and try with small amounts first! Assuming both parties have upgraded you should be safe to transact.
Please validate these instructions and let me know whether to change anything.
See also r/Peercoin thread.
Sunny King's Weekly Update #168.
jooize
commented
Nov 10, 2015
|
Updated recommendations (2015–11–15): Exchanges:
Users:
Please validate these instructions and let me know whether to change anything. See also r/Peercoin thread. Sunny King's Weekly Update #168. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 10, 2015
Member
Windows build is available here: http://sourceforge.net/projects/ppcoin/files/0.4.1%20RC1/ppcoin-0.4.1rc1-win32-setup.exe/download
Please always backup wallet before proceeding. Also note down your total balance/stake.
Uninstall version 0.4.0.
Install version 0.4.1 RC1.
|
Windows build is available here: http://sourceforge.net/projects/ppcoin/files/0.4.1%20RC1/ppcoin-0.4.1rc1-win32-setup.exe/download
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jooize
Nov 10, 2015
@sigmike Can you publish a SHA-256 hash here as SourceForge doesn't even serve over HTTPS?
I produce this from two different locations:
$ shasum -a 256 ppcoin-0.4.1rc1-win32-setup.exe
c0fa41ad46ee6c27571a39e6bac4ef68d92f6e2b8c53919472ead98bc31c4bdb ppcoin-0.4.1rc1-win32-setup.exe
Sunny King confirms the hash.
jooize
commented
Nov 10, 2015
|
@sigmike Can you publish a SHA-256 hash here as SourceForge doesn't even serve over HTTPS? I produce this from two different locations:
Sunny King confirms the hash. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
Nov 10, 2015
I can confirm sha256sum: c0fa41ad46ee6c27571a39e6bac4ef68d92f6e2b8c53919472ead98bc31c4bdb
sandakersmann
commented
Nov 10, 2015
|
I can confirm sha256sum: c0fa41ad46ee6c27571a39e6bac4ef68d92f6e2b8c53919472ead98bc31c4bdb |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
commented
Nov 10, 2015
|
Can someone merge this ASAP: super3/peercoin.net#239 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
Nov 11, 2015
Sunny King confirmed sha256sum here: https://www.peercointalk.org/index.php?topic=4312.msg41209#msg41209
sandakersmann
commented
Nov 11, 2015
|
Sunny King confirmed sha256sum here: https://www.peercointalk.org/index.php?topic=4312.msg41209#msg41209 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
MatthewLM
Nov 11, 2015
What OpenSSL version should I use to build ppcoin or peerunity with? 1.0.1j? I seem to remember 1.0.1k or higher caused a problem with earlier versions of bitcoin. I'm not sure if it's related to this.
MatthewLM
commented
Nov 11, 2015
|
What OpenSSL version should I use to build ppcoin or peerunity with? 1.0.1j? I seem to remember 1.0.1k or higher caused a problem with earlier versions of bitcoin. I'm not sure if it's related to this. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sigmike
Nov 11, 2015
Member
The patch includes the fix for OpenSSL1.0.1k so any version should work.
|
The patch includes the fix for OpenSSL1.0.1k so any version should work. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
MatthewLM
Nov 11, 2015
OK thanks. I just built peerunity 0.1.3 and I can confirm that it works for Linux 64-bit (Debian Jessie) with OpenSSL 1.0.1k.
MatthewLM
commented
Nov 11, 2015
|
OK thanks. I just built peerunity 0.1.3 and I can confirm that it works for Linux 64-bit (Debian Jessie) with OpenSSL 1.0.1k. |
added a commit
to noise23/ClickCoin
that referenced
this issue
Nov 12, 2015
added a commit
to noise23/Truckcoin
that referenced
this issue
Nov 12, 2015
added a commit
to noise23/version
that referenced
this issue
Nov 12, 2015
added a commit
to noise23/TEK
that referenced
this issue
Nov 12, 2015
added a commit
to noise23/gamecredits
that referenced
this issue
Nov 12, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
JoinJoin
commented
Nov 12, 2015
|
will this fix be merged into the latest version? Any ideas when? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
Nov 12, 2015
Peerunity v0.1.3-RC1 is available for all platforms. You can download builds here:
sandakersmann
commented
Nov 12, 2015
|
Peerunity v0.1.3-RC1 is available for all platforms. You can download builds here: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
gigatux
Nov 12, 2015
Hmm, I think that Peerunity RC thinks my wallet is corrupt:
Peerunity version v0.1.3.0-gd4fb03b ()
Default data directory /home/ppcoin/.ppcoin
Loading addresses...
dbenv.open LogDir=/home/ppcoin/.ppcoin/database ErrorFile=/home/ppcoin/.ppcoin/db.log
Loaded 12335 addresses
addresses 111ms
Loading block index...
Peerunity Network: genesis=0x0000000032fe677166d5 nBitsLimit=0x1d00ffff nBitsInitial=0x1c00ffff nStakeMinAge=2592000 nCoinbaseMaturity=500 nModifierInterval=21600
block index 0ms
Loading wallet...
Error reading next record from wallet database
Error loading blkindex.dat
Error loading wallet.dat: Wallet corrupted
wallet 954ms
Done loading
mapBlockIndex.size() = 0
nBestHeight = -1
setKeyPool.size() = 102
mapWallet.size() = 590
mapAddressBook.size() = 116
Peerunity: Error loading blkindex.dat
Error loading wallet.dat: Wallet corrupted
DBFlush(false)
addr.dat refcount=0
addr.dat checkpoint
addr.dat closed
blkindex.dat refcount=0
blkindex.dat checkpoint
blkindex.dat closed
wallet.dat refcount=0
wallet.dat checkpoint
wallet.dat detach
wallet.dat closed
StopNode()
DBFlush(true)
addr.dat refcount=0
addr.dat checkpoint
addr.dat closed
Peerunity exiting
I didn't get this on the link @glv2 posted regarding the 0.1.3 tree with just the fix. I'll investigate more tomorrow.
gigatux
commented
Nov 12, 2015
|
Hmm, I think that Peerunity RC thinks my wallet is corrupt: Peerunity version v0.1.3.0-gd4fb03b () DBFlush(false) I didn't get this on the link @glv2 posted regarding the 0.1.3 tree with just the fix. I'll investigate more tomorrow. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
gigatux
Nov 13, 2015
I think I'm going to have to leave PPC disabled. I still get the Peerunity v0.1.3-RC1 complaining both about the wallet being corrupted and it not being able to load blkindex. This happens even when using the wallet from the original Peerunity (not the tree linked to by @glv2 ). There seems to be something quite wrong with this RC.
gigatux
commented
Nov 13, 2015
|
I think I'm going to have to leave PPC disabled. I still get the Peerunity v0.1.3-RC1 complaining both about the wallet being corrupted and it not being able to load blkindex. This happens even when using the wallet from the original Peerunity (not the tree linked to by @glv2 ). There seems to be something quite wrong with this RC. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
glv2
Nov 13, 2015
@gigatux Have you checked if the BerkeleyDB version you compiled Peerunity v0.1.3-RC1 with is identical to the BerkeleyDB version of your previous Peerunity?
Linking to a different BDB version could explain the issues when trying to open or read the databases (wallet.dat and blkindex.dat).
glv2
commented
Nov 13, 2015
|
@gigatux Have you checked if the BerkeleyDB version you compiled Peerunity v0.1.3-RC1 with is identical to the BerkeleyDB version of your previous Peerunity? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
gigatux
Nov 13, 2015
@glv2 Very good point. Although it's linked to the same library, when compiling it used later BerkeleyDB include headers (as I have to use a later DB for dogecoin on the same server). I've dropped it back down to the older DB headers, recompiled and the release candidate is now working just fine.
Sorry for the confusion everyone! I'll just do a brief sanity check of the commits and then make this live on Bittylicious again.
gigatux
commented
Nov 13, 2015
|
@glv2 Very good point. Although it's linked to the same library, when compiling it used later BerkeleyDB include headers (as I have to use a later DB for dogecoin on the same server). I've dropped it back down to the older DB headers, recompiled and the release candidate is now working just fine. Sorry for the confusion everyone! I'll just do a brief sanity check of the commits and then make this live on Bittylicious again. |
added a commit
to presstab/HyperStake
that referenced
this issue
Dec 3, 2015
added a commit
to bumbacoin/bumbacoin2-v1033
that referenced
this issue
Jan 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
JohnDolittle
Feb 9, 2016
The fix is not complete. A signature contains three encoded lengths, but the patch covers only one of them.
JohnDolittle
commented
Feb 9, 2016
|
The fix is not complete. A signature contains three encoded lengths, but the patch covers only one of them. |
added a commit
to MintcoinCommunity/Mintcoin-Desktop-Wallet
that referenced
this issue
Feb 24, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
commented
May 5, 2016
|
New patch by sigmike: ppcoin#116 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sandakersmann
commented
May 5, 2016
|
Another patch by sigmike: ppcoin#117 |
paumiau commentedNov 9, 2015
Hi!
I just received on the pool (peercoin.econing.com) a strange error never happens again:
It 's an error when rpc does some calls (getblock, listsinceblock, listaccounts)
Error: {"code":-2,"message":"Safe mode: WARNING: Invalid checkpoint found! Displayed transactions may not be correct! You may need to upgrade, or notify developers of the issue."}
thanks