• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

v0.10.9.x Help test RC2 forking issues

Status
Not open for further replies.
So I have my testnet wallet running 10.9.13, I didn't actually realize I forgot to update. And I sit down at my computer, and with amazement, my wallet is telling me "Hard Fork Alert: Masternode Payments begin on Friday. Please update! http://goo.gl/ucp4m7" Woot woot! Never new that was implemented, LOL. I can report it works!

Now I'm wondering if I'm on a fork? It's running a QT masternode, so i'm wonering If I'll be keeping those coins? I suspect not, LOL
Well, after updating, I got to keep the coins, I guess I was OK? Hope that's not a problem?

Also, my Ubuntu wallets show the update notice, even if it's the newest version, but my windows wallet doesn't show anything. Wondering why?
 
Well, after updating, I got to keep the coins, I guess I was OK? Hope that's not a problem?

Also, my Ubuntu wallets show the update notice, even if it's the newest version, but my windows wallet doesn't show anything. Wondering why?
After your post I also checked, I've updated to v10.10.1 as soon as it went out and the one on testnet gives me the same error as yours, the one on mainnet has no error (both under ubuntu).
 
Ok, I'm leaving testnet aswell. Everything working and will now resync the mainnet blockchain before I summon my masternodes.
P2Pool already updated. I hope everything will be smooth!
 
My only masternode in testnet, got banned by three other nodes.
Uptime of three nodes is more than two days, and 'masternode list' shows all the master node with flag 0.

Ban msg is 'Got bad masternode address signature'
https://github.com/darkcoinproject/darkcoin/blob/master/src/main.cpp#L4063-L4068

Is there proper way to stop masternode ?

Here is what I have done, what is causing ban.

1) Masternode started with local - remote setup.
2) Got payed several times.
3) I have issued 'masternode stop password'
4) I have generated new masternodeprivkey.
5) Both local and remote masternodeprivkey is replaced.
6) Masternode started.
7) Sometimes later got banned with msg 'Got bad masternode address signature' in other servers.

I will shutdown my masternode in testnet and will change ip address.

EDIT: changing ip address is not helping.
* proper shutdown : shutdown remote masternode or restart with masternode=0

* Finally I have moved 1K tDRK.

Code:
ms06@x60t:~> darkcoind getaccountaddress 0
muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6
ms06@x60t:~> darkcoind setaccount muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1
ms06@x60t:~> darkcoind walletpassphrase bla 10
ms06@x60t:~> darkcoind sendfrom 0 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1000
b7a6ea9118193cab7e928627e44e8941693dc59554b8564754b0433abbd51898
ms06@x60t:~> darkcoind setaccount mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ 123
edit:
Code:
darkcoind setaccount muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 0

Code:
ms06@x60t:~> darkcoind listaddressgroupings
[
    [
        [
            "mjSs4eLL18NsVcobKjSJsGChkK6YyeaZSr",
            1234.00000000,
            "ttt"
        ]
    ],
    [
        [
            "muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6",  <--- new account 0
            1000.00000000,
            "0"
        ]
    ],
    [
        [
            "mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ", <-- previous account 0
            5420.90020000,
            "123"
        ],
        [
            "mvz342xruamQuhz8XVwBy2tW15e3rFXZCK",
            0.04720000
        ]
    ]
]


* Moving 1k tDRK to New address and changing masternodeprivkey solves the problem.
* I can't assure changing ip address is needed.

New ip, New address, New masternodeprivkey
Code:
54.178.176.195:19999 1 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1403176624172513 116 0
 
Last edited by a moderator:
El Presidente!
My only masternode in testnet, got banned by three other nodes.
Uptime of three nodes is more than two days, and 'masternode list' shows all the master node with flag 0.

Ban msg is 'Got bad masternode address signature'
https://github.com/darkcoinproject/darkcoin/blob/master/src/main.cpp#L4063-L4068

Is there proper way to stop masternode ?

Here is what I have done, what is causing ban.

1) Masternode started with local - remote setup.
2) Got payed several times.
3) I have issued 'masternode stop password'
4) I have generated new masternodeprivkey.
5) Both local and remote masternodeprivkey is replaced.
6) Masternode started.
7) Sometimes later got banned with msg 'Got bad masternode address signature' in other servers.

I will shutdown my masternode in testnet and will change ip address.

EDIT: changing ip address is not helping.
* proper shutdown : shutdown remote masternode or restart with masternode=0

* Finally I have moved 1K tDRK.

Code:
ms06@x60t:~> darkcoind getaccountaddress 0
muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6
ms06@x60t:~> darkcoind setaccount muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1
ms06@x60t:~> darkcoind walletpassphrase bla 10
ms06@x60t:~> darkcoind sendfrom 0 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1000
b7a6ea9118193cab7e928627e44e8941693dc59554b8564754b0433abbd51898
ms06@x60t:~> darkcoind setaccount mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ 123

Code:
ms06@x60t:~> darkcoind listaddressgroupings
[
    [
        [
            "mjSs4eLL18NsVcobKjSJsGChkK6YyeaZSr",
            1234.00000000,
            "ttt"
        ]
    ],
    [
        [
            "muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6",  <--- new account 0
            1000.00000000,
            "0"
        ]
    ],
    [
        [
            "mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ", <-- previous account 0
            5420.90020000,
            "123"
        ],
        [
            "mvz342xruamQuhz8XVwBy2tW15e3rFXZCK",
            0.04720000
        ]
    ]
]


* Moving 1k tDRK to New address and changing masternodeprivkey solves the problem.
* I can't assure changing ip address is needed.

New ip, New address, New masternodeprivkey
Code:
54.178.176.195:19999 1 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1403176624172513 116 0

You generate address 0, but then transform it to account 1, but I dont see you set that address back to account 0. So how did that 1k deposit authorise the Masternode?

What does this output?
darkcoind getaddressesbyaccount
 
runway exception.PNG

Swapped in main net MN wallet. Can set everything up just fine. When I go to shutdown the wallet, I get this error message. Anything that I should be concerned about?
 
Swapped in main net MN wallet. Can set everything up just fine. When I go to shutdown the wallet, I get this error message. Am I looking at a corrupt MN wallet here?

View attachment 184
El Presidente!


You generate address 0, but then transform it to account 1, but I dont see you set that address back to account 0. So how did that 1k deposit authorise the Masternode?

What does this output?

Code:
ms06@x60t:~> darkcoind listaccounts
{
    "" : -321.00000000,
    "0" : 425.60000000,
    "1" : 0.00000000,
    "123" : 6832.54740000,
    "ttt" : 1234.00000000
}
ms06@x60t:~>
ms06@x60t:~> darkcoind getaddressesbyaccount 0
[
    "muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6",
    "mvonDohL7yubZdD2c4UkoktYDNZvS4jbY4"
]
ms06@x60t:~>
ms06@x60t:~>
ms06@x60t:~> darkcoind listaddressgroupings
[
    [
        [
            "mjSs4eLL18NsVcobKjSJsGChkK6YyeaZSr",
            1234.00000000,
            "ttt"
        ]
    ],
    [
        [
            "muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6",
            1000.00000000,
            "0"
        ]
    ],
    [
        [
            "mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ",
            5511.50020000,
            "123"
        ],
        [
            "mvz342xruamQuhz8XVwBy2tW15e3rFXZCK",
            0.04720000
        ]
    ]
]

Oh I didn't paste last command. Sorry for confusion.
mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ is original 0 holding 1K tDRK.
Code:
  333  darkcoind getaccountaddress 0
  334  darkcoind getinfo
  335  darkcoind setaccount muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1
  336  darkcoind sendfrom 0 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1000
  337  darkcoind walletpassphrase password 100
  338  darkcoind sendfrom 0 muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 1000
  339  darkcoind listaddressgroupings
  340  darkcoind setaccount mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ 123
  341  darkcoind setaccount muj9oHwCtoWLcrALSfV7yQS2yh1KLpbXo6 0
  342  darkcoind listaddressgroupings

I shoud make account name bla rather than 0 first place, then should change bla to 0.
 
When I start my masternode my local ip address keeps appear in the masternode list (instead of my external ip). What is wrong?
I have specified my externalip....

Anyone?
 
When I start my masternode my local ip address keeps appear in the masternode list (instead of my external ip). What is wrong?
I have specified my externalip....

Anyone?

There is only one difference in local and hot config.
Code:
masternodeaddr=remoteaddress:port

If masternodeaddr is in darkcoin.conf, it's local.
So check your dackocin.conf, if it has masternodeaddr.

If setup is hot only config, masternodeaddr is not needed.
Did you use externalip in config ?
Code:
externalip=

externalip is used ?
Then I suggest run darkcoind with masternode=0.
Then move 1K DRK to NEW address.
Change account name 0 to something else.
Change account name of 'NEW address' to 0.
Generate new masternodeprivkey.
Wait 6 confirmation.
Meamtime backup wallet.
Stop darkcoind.
Change masternode=0 to masternode=1 in conf
Change masternodeprivkey in conf.

Run darkcoind, wait till fully synced, then start masternode.

I wish this help.
 
There is only one difference in local and hot config.
If setup is hot only config, masternodeaddr is not needed.
I wish this help.
Thanks for your input!
I have tried the hot only config (without the masternodeaddr)
But when I start my masternode I got the message:
cmd-reply



inbound port is not open. Please open it and try again. (19999 for testnet and 9999 for mainnet)

I am sure my port is open.

My .darkcoin.conf looks like this:

addnode=23.23.186.131
masternode=1
maxconnections=200


masternodeprivkey=7sDNcghj9gfgrE9ghgKbxtFp1ezLM2tiwYsDa977sejEX

listen=1

Is it really possible to appear in the masternode list with a hot only setup????
 
Thanks for your input!
I have tried the hot only config (without the masternodeaddr)
But when I start my masternode I got the message:
cmd-reply



inbound port is not open. Please open it and try again. (19999 for testnet and 9999 for mainnet)

I am sure my port is open.

My .darkcoin.conf looks like this:

addnode=23.23.186.131
masternode=1
maxconnections=200


masternodeprivkey=7sDNcghj9gfgrE9ghgKbxtFp1ezLM2tiwYsDa977sejEX

listen=1

Is it really possible to appear in the masternode list with a hot only setup????

I haven't test hot only setup.
 
The error I had above was serious. The wallet was originally made on a linux system, and then swapped into a windows system. It seems like that could of caused an issue somehow.

I was able to transfer the full balance into a freshly created windows wallet. Shortly after the transaction was broadcast, the error wallet crashed. Now it will not reopen. Thankfully, there are zero funds in it at this time. The windows wallet seems to function 100%. If anyone wants to look at the error wallet, I'll upload it.
 
Last edited by a moderator:
The error I had above was serious. The wallet was originally made on a linux system, and then swapped into a windows system. It seems like that could of caused an issue somehow.

I was able to transfer the full balance into a freshly created windows wallet. Shortly after the transaction was broadcast, the error wallet crashed. Now it will not reopen. Thankfully, there are zero funds in it at this time. The windows wallet seems to function 100%. If anyone wants to look at the error wallet, I'll upload it.
Hmm, what was the version of libdb ?

I saw a warnning on binary wallet compatibility.

https://github.com/darkcoinproject/darkcoin/blob/master/doc/build-unix.md

Code:
Ubuntu precise has packages for libdb5.1-dev and libdb5.1++-dev,
but using these will break binary wallet compatibility, and is not recommended.

copy the error occured wallet to linux, check if darkcoind can open it.
 
Last edited by a moderator:
Hmm, what was the version of libdb ?

I saw a warnning on binary wallet compatibility.

https://github.com/darkcoinproject/darkcoin/blob/master/doc/build-unix.md

Code:
Ubuntu precise has packages for libdb5.1-dev and libdb5.1++-dev,
but using these will break binary wallet compatibility, and is not recommended.

copy the error occured wallet to linux, check if darkcoind can open it.

Almost certain i used 5.1. (Don't have access to that machine until tomorrow)

I can do one better though for future reference. Here is the db.log file.
http://pastebin.com/QxZUmQs5

Edit: But then again, my original wallet from way back when has no issues whatsoever. Once again, almost positive that wallet was made with 5.1 as well. *Shrug*
 
Last edited by a moderator:
Almost certain i used 5.1. (Don't have access to that machine until tomorrow)

I can do one better though for future reference. Here is the db.log file.
http://pastebin.com/QxZUmQs5

Edit: But then again, my original wallet from way back when has no issues whatsoever. Once again, almost positive that wallet was made with 5.1 as well. *Shrug*

Pretty sure, libdb version.
Code:
file wallet.dat has LSN 1/17743, past end of log at 1/333
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
DB_ENV->log_flush: LSN of 1/17743 past current end-of-log of 1/333
Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wallet.dat: unable to flush page: 11
 
Status
Not open for further replies.
Back
Top