Bible Pay

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rob Andrews

Pages: 1 ... 125 126 127 128 129 130 131 [132] 133 134
Hang on guys, I see a fundamental error in the instructions.

The masternode genkey command should actually be done on the SANCTUARY!  LOL. 

Let me do another çold wallet test, and if it works Ill edit the wiki, hang on.

Sorry to tinker with the wiki, just was trying to make it cleaner and easier to read as I went along and didn't consider the nomenclature being as significant but understand.

Also, have you installed the wallet on a 1GB Vultr?  If so, do you have any thoughts about the memory issue.?

No, sorry, I really never ran into that memory problem, I dont even have any input here.  You would be better off googling that one.

ok... I found on first post, there now external cold wallet not working ;)
but... I found this:
here is one more option ... masternodeaddr - that we need to put in our cold wallet
maybe this is a problem ?
Hi Svirus,

Great find.  Yeah, I had gone through that myself, and in the end the only way I could create the masternode was in hot mode, and then I did successfully boot two masternodes up, and they are running in cold mode.  In cold mode, I see the masternodes are now being paid through the masternode payment system (not through block subsidy) and the amounts seem to be correct.  I have not successfully activated one in hot mode.

You did find the key to the problem, whenever the hot wallet is 'activated' from the controller wallet, then I see this in the log on the *sanctuary*:
Got mismatched pubKeyCollateralAddress and vin

Just like you do.  Now it is possible, that my first 7 tests didnt actually honor the 'masternodeaddr'.  I do remember this, it is quite different to fully qualify the addr and the port.  If you want you can try this:  masternodeaddr=YourIP:40001. Note the fully qualifyied port number for testnet. 
Could you see if that works?  Btw, our port is 40000 for prod and 40001 for testnet, so anytime you see a 9999 for dash its 40001 for our testnet.

Im thinking we try to get hot mode going a little while longer, and eventually over the next day or so, we put someone else here on a mission to keep working on hot mode and we bring up 5 or so in cold mode to keep us moving as a team, so that I can add the code for the sanctuaries on the web site for testnet.

Does anyone here have a dash masternode?  I was kind of wondering how long it takes to see the other masternodes in the all sanctuaries list.

I modified the install wiki a bit. 

One issue I hit was it exhausted the virtual memory while building BBP Core.  I'm rebuilding it from
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
sudo make

on the linux install docs.  Is 1 GB RAM enough to build?

Just a general note on this particular issue regarding the Create_Masternode wiki.
If you have not installed a Masternode successfuly and are not yet running a successful masternode yet, I would suggest not trying to modify the wiki page that you dont fully grasp yet.

I know the page is no where near perfect, but what is happening is you are making modifications to something that is not complete and potentially misleading us.

I think what we need to do is get our cold and hot masternodes working first, and then tweak the prod instructions with Successful known changes.

If you want, you can go ahead and clone the masternode create page to another testnet page name and tweak that one for testnet until its final.

Changing to 500,000 bbp is fine for testnet, but its not the final amount for prod.
The 'sanctuary server' is not the right nomenclature.  All the hosts are servers.  (IE this is not a client-server solution).  There are going to be one to many sanctuaries per single controller wallet. (So we have controller wallet, and sanctuary wallets).

I just wanted to mention this because I noticed you took out all the lines that said 'still from the main PC' to try to simplify it.  Thus leaving ambuiguity between the commands from the sanctuary wallet and the main controller wallet.  So lets clone the page to a create_masternode_testnet version and do whatever you want to it until its clear then we can overwrite the prod version.

some anothers nodes with external IP ?
I think I'am banned on *
I only banned one IP this morning, what is your ip prefix? 


Btw, one thing you can do is: go into the \testnet3 dir, delete the peers.dat, banlist.dat, and the mncache.dat, and restart.  (With the 3 addnodes in).
One other thing, from a command line:
telnet 40001

Ensure you get a connection?

yiADn9XHSj58Vab9zqMooQCTsYmADNZRXJ - one 1mln please ;)
I mining half day, and have only 500k ;)

Ive got to run some errands for a few hours but while Im gone if you guys could just see if you can keep the chain synced with inblue and Westwarnsworth, just verify the thing is agreeing on 1047 for everyone with 1 minute blocks.  Then we can move to the next baby step which is enabling a few hot masternodes, and verifying the masternode payments are actually paying each other the 50% compensation level.

Here are a few addnodes if anyone wants to try to sync:

I also fired up a windows PC on testnet but its behind the firewall.

I'am on good chain in testnet ? :
Code: [Select]
new best=5e008f7ab671fcbefafbf410db50b46c893f1824ce7b0f9bd7a05a5dac7e05cd  height=3428

BTW... I must mine 1mln BBP , or someone can send me BBP for start masternode ? ;)

Yeah, your on my chain, but I know we still have a fork, because whoever has the 142.44 IP has the last 100 blocks different, and on my 2nd vultr, I had to ban you to get it to sync, who has 142? Can you please restart your chain?

Anyway svirus, please post your testnet address and Ill send the tBBP. 

Removed all files and started again, now I have this:

Code: [Select]
    "height": 2800,
    "hash": "eb067b1c548908ab169f1d97b1421213e38970357649116b3818154a0b9eb18c",
    "difficulty": 4.276836403033586,
    "chainwork": "000000000000000000000000000000000000000000000000000004ef01f970b6",
    "branchlen": 2724,
    "status": "headers-only"
    "height": 80,
    "hash": "3a1f92a302a6d72eb32581aad9fbd61cf7ee4f71e52497b3b8dd9fc137b2b845",
    "difficulty": 0.1591938163763032,
    "chainwork": "0000000000000000000000000000000000000000000000000000000e14654f62",
    "branchlen": 0,
    "status": "active"
    "height": 28,
    "hash": "f3c2791f04be079d0b7d3a28bf61ae28ee24b06a762ab6ad19af7667b4e8d88c",
    "difficulty": 0.0001111867252099767,
    "chainwork": "00000000000000000000000000000000000000000000000000000000001d0e27",
    "branchlen": 1,
    "status": "valid-headers"
    "height": 28,
    "hash": "e4c3ec0608dd9e051bbdd2dec3772dc3d048e56f19fdd31c67c6f11627412a7c",
    "difficulty": 0.0001111867252099767,
    "chainwork": "00000000000000000000000000000000000000000000000000000000001d0e27",
    "branchlen": 1,
    "status": "valid-headers"
    "height": 19,
    "hash": "7065555a9dd366041ecc5a3d0af2567291058292c5fbe3ca449595f1b8fee7f2",
    "difficulty": 8.31726475264857e-06,
    "chainwork": "0000000000000000000000000000000000000000000000000000000000022637",
    "branchlen": 1,
    "status": "valid-fork"

I have to give up for now, will be back tomorrow :)

Yeah, we might have to increment the protocol version in testnet.  Lets see what happens tomorrow after I fire up 3 vultrs and one personal machine and we try at the same time.  Have a good night.

I have a lot of these errors, so I can't get 500k tBBP :)

Code: [Select]
2017-10-03 19:42:05 ^M
ProcessBlockFound::Generated 16800.25
2017-10-03 19:42:05 ERROR: CheckProofOfWork(1): BibleHash does not meet POW level, prevheight 2780.000000 pindexPrev e463d4d9e236b8ff1ed18b5bcb03fcc914db7d4a59a0127dd785949c7ce81bf7
2017-10-03 19:42:05 ERROR: CheckBlockHeader(): proof of work failed
2017-10-03 19:42:05 ERROR: ProcessNewBlock: CheckBlock FAILED
2017-10-03 19:42:05 ERROR: ProcessBlockFound -- ProcessNewBlock() failed, block not accepted
2017-10-03 19:42:05 keypool keep 12
2017-10-03 19:42:05 12121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212CMasternodePayments::SyncLowDataPaymentBlocks -- asking peer 3 for 2781 payment blocks
2017-10-03 19:42:38 1212SYNCSTATUSCOUNT -- got inventory count: nItemID=3  nCount=0  peer=3
2017-10-03 19:42:38 1212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212CBlock(hash=e38012aaad6067cdb7d93bf175da5b0632683e7c6ca0ccffefbe92b9b4f2f426, ver=536870912, hashPrevBlock=e463d4d9e236b8ff1ed18b5bcb03fcc914db7d4a59a0127dd785949c7ce81bf7, hashMerkleRoot=1757c05d10cf959f669b18b2b96cfe795f4283d13a98e9462c37d40d2bdef4d7, nTime=1507059804, nBits=1c6128d6, nNonce=22193, vtx=1)
  CTransaction(hash=1757c05d10, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 02dd0a02dc00)
    CTxOut(nValue=16800.25000000, scriptPubKey=2103b9ef046bca7ec39a61e246eb10)

Code: [Select]
2017-10-03 19:34:15 ^M
ProcessBlockFound::Generated 16882.70
2017-10-03 19:34:15 ERROR: ProcessBlockFound -- generated block is stale
2017-10-03 19:34:15 keypool keep 43
2017-10-03 19:34:15 12121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212CBlock(hash=ec2ea9af71570945dd38a4dfb689ea77cad6d9d28360bf4caca8b4dd6fe96ab3, ver=536870912, hashPrevBlock=4649305bba3d4e886d2d258379ff7e6c5bdb37280b523de6e36abdb011bc9aa8, hashMerkleRoot=c06abfafd37dedb14eea6defafde0f91e6cedf1f3e815b6c2d8e248c2d660128, nTime=1507059262, nBits=1d0128a9, nNonce=7175, vtx=1)
  CTransaction(hash=c06abfafd3, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 02d60a029100)
    CTxOut(nValue=16963.45000000, scriptPubKey=21034728686b433bb0c08cec8fa1ee)

Also, somewhere in debug.log I see lines without any errors and the "AddToWallet" line, but my wallet balance is 0.

Code: [Select]
2017-10-03 19:34:14 ^M
ProcessBlockFound::Generated 16954.10
2017-10-03 19:34:14 12UpdateTip: new best=4649305bba3d4e886d2d258379ff7e6c5bdb37280b523de6e36abdb011bc9aa8  height=2773  log2_work=42.213349  tx=2783  date=2017-10-03 19:34:14 progress=0.003227  cache=0.0MiB(17tx)
2017-10-03 19:34:14 AddToWallet 831af4ce0947df326eb8a2a6e8729ac5b20bf9e37620bfe9b3b7020c28568927  new
2017-10-03 19:34:14 ProcessNewBlock : ACCEPTED
2017-10-03 19:34:14 1212121212CBlock(hash=e7544330af5181938b9315dd59c97faee9ef0ad7b50dfac6bfdaaa526a864869, ver=536870912, hashPrevBlock=7003ca18a69cfdf83982163b9ae56807befc22163ec094b0be303e6d5d2cdada, hashMerkleRoot=9e9e04108b340d77dc126966d096433c941475d450b34d7162afff8933ad4a8a, nTime=1507059254, nBits=1d010d1e, nNonce=7291, vtx=1)
  CTransaction(hash=9e9e04108b, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 02d40a029000)
    CTxOut(nValue=16882.70000000, scriptPubKey=2103c2f360732f95a884a88bbf27d6)

Hmm, I just grepped my first node running the newest version and dont have that particular checkblock error.  Before I delve further into this,  did you possibly have an old testnet blockchain before?  Can you please try deleting blocks -R and chainstate -R and mncache.dat and peers.dat and restarting?  Its possibly you have some headers from the prior chain or from another node running the old version.


Code: [Select]
telnet: could not resolve Name or service not known
Same with ping.
Hmm, cant be, I flushed my dns cache, and when I ping '' i receive  I also checked cloudflare and the entry is live.  Do you have DNS enabled at your provider by chance?
Anyway you can go by IP now :)

Here is a blockhash to see if you are synced:

showblock 2700:
  "hash": "4d5d13c36da85b81ab23e1f2747cc080f053409c711a680b2cbb9e278efc49b3"

Good Afternoon All,

It is time to Test sanctuaries in Testnet.

- Testing requires linux - because windows will not run watchman on the wall (thats the decentralized sanctuary database)
- Testing requires 500,000 TestNet BBP to be sent to the new testnet masternode (actually send more, so you have extra first) - this is not the final amount to run a sanctuary, its the testnet amount
- Testing requires an external open IP, IE you need to be able to run with the firewall port 40001 open
- Testing needs to have the latest version of BBP compiled from source

If anyone needs test BBP, let me know.

Here is a guide to explain how to start a masternode:
(*** NOTE!!!  The above guide says 1 million BBP is required.  Its actually 500,000 BBP in testnet!  Please dont try 1 million as it will not work ***)

** Note that this procedure documented above actually failed.  It failed when I took a look at the log in the actual masternode wallet, an error was generated saying something to the effect of invalid escrow sent to the masternode. 

To get around this, send the test biblepay to the masternode wallet, create the  private key on the masternode, set the masternodeprivatekey and masternode=1 in the config, and then we can resume testing.  If anyone can get this working in 'cold' mode (that means the mastnode has 0 funds in the wallet with remote activation working) that would be extremely valuable.  I will obviously help with this, as we cant go live until cold mode works, but I also need to move past and start testing the governance commands next.

My first test procedure is lets ensure we have 5+ masternodes running and see if we can all see each other and stay in sync.  We now have 1 minute blocks on testnet.

PS: To install watchman-on-the-wall, please see the "BuildBiblePay.txt" document in the root.  It has a section called Watchman. 

Note, I will modify the wiki entry to explain how to add watchman to the cron.

TestNet Discussion Archive / Re: BLOCKCHAIN NEWS
« on: September 29, 2017, 10:00:01 am »
A little update here for everyone on TestNet:

I decided to modify the testnet chain to have 1 minute blocks, so when someone is actually testing, we can test 700% faster.
For example, if we want to mock up a proposal, a vote, a budget and a superblock, we wont have to wait as long.

On my local nodes, I had to erase all my testnet chains.  The code is out for linux but not for Windows yet.

Also, another major change is Sanctuaries require another piece of linux side software called Watchman on the wall.  Im working on it now, and will update asap.
This will allow us to test sanctuaries in testnet a little early (IE within 30 days from now).  Giving myself 30 days of time max to get the web proposal/budget working.

Pages: 1 ... 125 126 127 128 129 130 131 [132] 133 134