|
nxtraordinary
Jr. Member
Offline
Activity: 100
Merit: 1
Pool for Future-Airdrops already at 9.000.000 NDL
|
|
October 14, 2018, 07:42:21 AM |
|
This is actually a worry of mine. One day the node that the explorer talks to is going to walk away on another chain and not come back. -Dave
Again: Actually we do HAVE a fork with at least two confirming networks, one chain is at 1312776 and confirmed, the other one at 1312265 and confirmed. After some time, the latter one gets unconfirmed, while one connection suddenly misses and the wallet then jumps to the other chain - just to where it forked from in time. Now: Which one is the right chain? Blockexplorer is on the first one. The faster one ... . n.
|
Before we begin, we should take a hard look at ourselves first.
(galgitron)
~
NDL Donations for future Airdrops: Ngo2somW9pLj4QC8cyHWKjrpTRYm
|
|
|
number435398
Jr. Member
Offline
Activity: 260
Merit: 6
|
|
October 14, 2018, 08:56:03 AM |
|
Wow, I really set off a lot of responses. Regarding the Current Fork: Whichever fork has the most work and conforms to the most recent checkpoint is the proper fork. Dognose node: I'd love to keep that, though my wallets have been working wo that particular node just fine. But no, I won't change the network ID yet. How litecoin handled it: Even with a 16.3 version of litecoin I had modified, I did not notice it doing a good job of keeping out other nodes; in fact it wasn't. Or maybe it did keep some out and there were still so many it didn't seem like it was doing anything. I saw the same nodes you guys have been seeing in your wallets, in my v16.3 wallet. Hard forks: I've already coded them to occur by consensus at a particular date. The date is currently set to Nov 22 which can absolutely be changed, this is just a beta. The pchMessage code is not setup to be able to occur at a particular block since its supposed to be for downloading the blocks to determine when to apply other code. Community Consensus: All for it, I kinda thought I already kinda had that....guess I was wrong; wasn't trying to step on anyone's toes or exclude anyone. Test Net: I have not established a test net, I don't know for what aspect I would establish one. Maybe I'm wrong, but I don't see the full need for it, please feel free to explain it to me. I've never released a major upgrade to a wallet before so I'm not familiar with all the details. Perhaps I'm too eager to get this going, but that's why I have you guys to help keep my enthusiasm in check
|
|
|
|
Chicago
|
|
October 14, 2018, 03:59:10 PM |
|
|
|
|
|
DaveF
Legendary
Offline
Activity: 3654
Merit: 6664
Crypto Swap Exchange
|
|
October 14, 2018, 10:19:36 PM |
|
I have been kind of quiet as of late. Work has just been non stop busy and my time for side projects has dropped to almost zero. But there only seems to be 4 or 5 of us here on a regular basis. Looking at the low number of "real" nodes and the low amount of mining I think number435398 has the correct idea:
Push forward with a new client and see if we can get any traction anywhere for exchanges or anything else. If we keep this thread active if there are any other people who don't know what is going on if their nodes stop syncing and they care I would think this thread would be the 1st place they look.
As far as I know dnp runs the dognose nodes
Since I am running the explorer and the .net website I *DO NOT* want to be in the position of making *ANY* decisions. That would make it look too much like I am forcing what I want on the community.
-Dave
|
|
|
|
dnp
|
|
October 15, 2018, 03:35:30 AM Last edit: October 15, 2018, 03:57:52 AM by dnp |
|
I don't think changing the Network ID is a good idea yet.
We don't know who runs the dognose nodes and if they don't upgrade then everything falls apart without a seed.
i be dognose. i wont have real free time until december. maybe possibly late november. i'm too busy to figure what fork i may have wandered down, but this is my current state of the daemon. i do not have any of those nasty altcoin connections since i'm running that code i posted a couple days ago. { "version" : "v0.8.6.50-unk-dnp", "protocolversion" : 70002, "walletversion" : 60000, "client" : "/Noodly-dnp:0.8.6.50/", "berkeleydb_version" : "Berkeley DB 4.8.30: (April 9, 2010)", "openssl_version" : "OpenSSL 1.0.2p 14 Aug 2018", "boost_version" : "1_59", "compiler_version" : "5.5.0 (5.5.0)", "build_date" : "2018-10-13 22:49:01 -0400", "balance" : 1205499.87000000, "al_dente" : 0.00000000, "immature" : 30000.00000000, "blocks" : 1313963, "lastblock_time" : 1539574422, (Oct 14 23:33:42 2018 -0400) "timeoffset" : -1, "connections" : 6, "proxy" : "", "ip_address" : "23.233.2.252", "port" : 40021, "rpc_port" : 40022, "difficulty" : 0.00054808, "next_block" : { "height_next" : 1313964, "difficulty_next" : 0.00054808 }, "testnet" : false, "keypoololdest" : 1539525759, (Oct 14 10:02:39 2018 -0400) "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "generate" : true, "threads/cores" : 2, "errors" : "URGENT: Alert key compromised, upgrade required" }
[ { "addr" : "74.113.33.65:40021", "services" : "00000003", "lastsend" : 1539574585, (Oct 14 23:36:25 2018 -0400) "lastrecv" : 1539574492, (Oct 14 23:34:52 2018 -0400) "bytessent" : 992049, "bytesrecv" : 672331, "blocksrequested" : 682, "conntime" : 1539485439, (Oct 13 22:50:39 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : false, "startingheight" : 1312487, "banscore" : 0, "syncnode" : true }, { "addr" : "188.99.44.158:54782", (dslb-188-099-044-158.188.099.pools.vodafone-ip.de) "services" : "00000003", "lastsend" : 1539574514, (Oct 14 23:35:14 2018 -0400) "lastrecv" : 1539574400, (Oct 14 23:33:20 2018 -0400) "bytessent" : 817679, "bytesrecv" : 496281, "blocksrequested" : 1145, "conntime" : 1539489038, (Oct 13 23:50:38 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : true, "startingheight" : 1312486, "banscore" : 0 }, { "addr" : "188.99.44.158:58773", (dslb-188-099-044-158.188.099.pools.vodafone-ip.de) "services" : "00000003", "lastsend" : 1539574493, (Oct 14 23:34:53 2018 -0400) "lastrecv" : 1539574513, (Oct 14 23:35:13 2018 -0400) "bytessent" : 1103190, "bytesrecv" : 243716, "blocksrequested" : 1697, "conntime" : 1539502578, (Oct 14 03:36:18 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : true, "startingheight" : 1312265, "banscore" : 0 }, { "addr" : "188.99.44.158:52593", (dslb-188-099-044-158.188.099.pools.vodafone-ip.de) "services" : "00000003", "lastsend" : 1539574399, (Oct 14 23:33:19 2018 -0400) "lastrecv" : 1539574585, (Oct 14 23:36:25 2018 -0400) "bytessent" : 731746, "bytesrecv" : 339180, "blocksrequested" : 584, "conntime" : 1539503274, (Oct 14 03:47:54 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : true, "startingheight" : 1312789, "banscore" : 0 }, { "addr" : "188.99.44.158:55015", (dslb-188-099-044-158.188.099.pools.vodafone-ip.de) "services" : "00000003", "lastsend" : 1539574586, (Oct 14 23:36:26 2018 -0400) "lastrecv" : 1539574399, (Oct 14 23:33:19 2018 -0400) "bytessent" : 261746, "bytesrecv" : 199291, "blocksrequested" : 513, "conntime" : 1539525882, (Oct 14 10:04:42 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : true, "startingheight" : 1313157, "banscore" : 0 }, { "addr" : "76.16.12.81:43892", (c-76-16-12-81.hsd1.in.comcast.net) "services" : "00000003", "lastsend" : 1539574601, (Oct 14 23:36:41 2018 -0400) "lastrecv" : 1539574602, (Oct 14 23:36:42 2018 -0400) "bytessent" : 147416906, "bytesrecv" : 39445802, "blocksrequested" : 353502, "conntime" : 1539570369, (Oct 14 22:26:09 2018 -0400) "version" : 70002, "subver" : "/Satoshi:0.8.6.1/", "inbound" : true, "startingheight" : 0, "banscore" : 0 } ] 5 inbound 1 outbound = 6 total connections
|
Explorer and full node hosting at explorer.dognose.net
|
|
|
dnp
|
|
October 15, 2018, 03:51:49 AM |
|
looks like litecoin looks for 'bad' subvers, while the code i posted a couple days ago looks for 'good' subvers. pretty much the same idea but from opposite directions the problem with looking for bad ones, is you have to know who they are in advance. those 'seeder' nodes (which i noticed connecting to dognose as well) may be a big clue as to the root source of the plague however.
|
Explorer and full node hosting at explorer.dognose.net
|
|
|
number435398
Jr. Member
Offline
Activity: 260
Merit: 6
|
|
October 15, 2018, 09:39:16 AM |
|
Many of your presented adjustments may help with the network but the real way its supposed to be done is through the pchMessage. Here's the Litecoin version: https://github.com/litecoin-project/litecoin/blob/master/src/chainparams.cpp#L116-L119pchMessageStart[0] = 0xfb; pchMessageStart[1] = 0xc0; pchMessageStart[2] = 0xb6; pchMessageStart[3] = 0xdb;
Here's the Bitcoin version: https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L104-L107pchMessageStart[0] = 0xf9; pchMessageStart[1] = 0xbe; pchMessageStart[2] = 0xb4; pchMessageStart[3] = 0xd9;
As you can see, they are different because that is the way its supposed to be done. If we don't make that adjustment soon, what if we decide we need to make the adjustment later when we have 100 or 1k people taking part in Noodlyappendagecoin? It will be much harder to do then than it will be to do now. The smaller the community and the earlier we make big jarring changes, the better. Look at what happened to bitcoin when they tried to do segwit...it broke the community because of how big and polarized it had become. Hell, I wouldn't even mind setting larger block sizes now instead of later due to the same concern. Edit: wait, was it segwit that splintered the bitcoin community or was is the increase in block size? I don't recall.
|
|
|
|
DaveF
Legendary
Offline
Activity: 3654
Merit: 6664
Crypto Swap Exchange
|
|
October 15, 2018, 02:01:44 PM |
|
Edit: wait, was it segwit that splintered the bitcoin community or was is the increase in block size? I don't recall.
Both. -Dave
|
|
|
|
Chicago
|
|
October 15, 2018, 02:18:10 PM |
|
Okay, so I seem to remember a way to seamlessly change the network magic under special circumstances.
I'm just going from memory here so if I'm wrong, then I'll actually go do it again so I can report more accurately.
Basically you start with a fully sync'd node. Then you stop it and go change the Network ID, recompile and start the wallet.
All of the blocks on disk are already trusted, so no problem.
Then you run the linearize script which hits the RPC and builds a bootstrap.dat which has the new Network ID in it.
Since our mining difficulty is so very low - there clearly is an opportunity to just take the current sources; add in the patch exclude invalid client versions; add a checkpoint; set a DNS seed and then run the builds through Gitian to produce some Windows and Linux binaries.
Disruption would be minimal to the small handful of people holding the network together.
This would then let us actually have a more stable base network before proceeding with further network upgrades towards the latest and greatest code.
|
|
|
|
Chicago
|
|
October 15, 2018, 03:33:12 PM |
|
I created a linear bootstrap.dat for the chain I'm synced with near height 1314626. You can download it here. Next, I'll see about trying that thing with the Network ID change as a proof-of-concept.
|
|
|
|
number435398
Jr. Member
Offline
Activity: 260
Merit: 6
|
|
October 15, 2018, 11:27:35 PM |
|
I created a linear bootstrap.dat for the chain I'm synced with near height 1314626. You can download it here. Next, I'll see about trying that thing with the Network ID change as a proof-of-concept. I have found no code that allows the pchMesssage to be changed after compilation. If its there, then great. I've already tested changing the pchmessage code. It works (maybe I should have mentioned that like a week or so ago). All nodes not in line with it don't work with a wallet compiled with it, though the blockchain is still fine. The wallet doesn't even consider any nodes w/o the same code.
|
|
|
|
dnp
|
|
October 16, 2018, 04:57:55 AM |
|
Many of your presented adjustments may help with the network but the real way its supposed to be done is through the pchMessage.
btw, whatever future/new value of pch you have chosen, how have you determined it's not already taken by some other altcoin? anyhow, i'd find it amusing if the hex ascii equivalent of NDLY was used even more amusing if the EBCDIC values of NDLY were used
|
Explorer and full node hosting at explorer.dognose.net
|
|
|
Chicago
|
|
October 16, 2018, 07:16:31 AM |
|
Hello, In my experiment, I set the Network ID to FSM1. It wasn't too much effort to render a linear bootstrap.dat using the new Network ID. After that was done, I used His Holy Noodliness's code and made the following updates. - Update Gitian Recipes - Upgrade UPnP Support - Set Client Version to Noodlyappendagecoin v0.8.6.2 - Update Copyright Year to 2014-2018 - Set Checkpoint at Height 1314626 - Main Network 0x46534d01 - Test Network 0x46534d02 - Remove Legacy DNS Seeds - Remove pnSeed Array The source code is in the 4Q18 branch here. I have also produced Windows binaries. These Windows binaries use Berkeley DB v5.3. Here is how to try the "new peer swarm network". You must backup your current wallet.dat and data directory. Keep your backups! Next, move your current data directory someplace out of the way so you can sync the chain using the new FSM Network ID. You may use the newly prepared FSM bootstrap.dat to load the blocks from disk during the initial sync. Noodlyappendagecoin v0.8.6.2 for Windows is available here. It is noted as EXPERIMENTAL on the the repository releases page. There is one full node only and it is not mining. addnode=23.253.205.134 addnode=[2001:4801:7825:102:be76:4eff:fe10:3d29] If you would like to participate, just run the new code and start your miner. I am hoping this solves the network problems we discussed over the weekend and acts as a stop-gap until we perform another network upgrade to implement BIP 34 and BIP 66. This interim client should make things easier on future development so there are less exceptions written into the code. This interim client is not meant to hinder other development efforts. This client is a clean break from the v0.8.6.1 network. There was approximately a 12 hour difference between the snapshot at height 1314626 and this public release. If I picked the wrong fork of the chain, let me know and we can do this experiment again with another chain. I selected this chain because it is the one which His Holy Noodliness's code identifies with in the peer swarm. Best Regards, -Chicago
|
|
|
|
number435398
Jr. Member
Offline
Activity: 260
Merit: 6
|
|
October 16, 2018, 08:13:29 AM |
|
Many of your presented adjustments may help with the network but the real way its supposed to be done is through the pchMessage.
btw, whatever future/new value of pch you have chosen, how have you determined it's not already taken by some other altcoin? anyhow, i'd find it amusing if the hex ascii equivalent of NDLY was used even more amusing if the EBCDIC values of NDLY were used I was planning on using the ascii for it (contrary to what I previously posted). The EBCDIC...well...I guess we could. Wasn't what I was plannin'. And, no, I don't know that another altcoin isn't using the same pchmessage code. But that's one reason to use the ascii; if other people follow that same logic then they wouldn't match ours.
|
|
|
|
number435398
Jr. Member
Offline
Activity: 260
Merit: 6
|
|
October 16, 2018, 08:21:15 AM |
|
In my experiment, I set the Network ID to FSM1. It wasn't too much effort to render a linear bootstrap.dat using the new Network ID.
I've been taking the "Network ID" as the pchmessage code. Perhaps they are not the same thing.
|
|
|
|
nxtraordinary
Jr. Member
Offline
Activity: 100
Merit: 1
Pool for Future-Airdrops already at 9.000.000 NDL
|
|
October 16, 2018, 09:23:09 AM |
|
(...)
There is one full node only and it is not mining. addnode=23.253.205.134 addnode=[2001:4801:7825:102:be76:4eff:fe10:3d29]
If you would like to participate, just run the new code and start your miner.
I am hoping this solves the network problems we discussed over the weekend and acts as a stop-gap until we perform another network upgrade to implement BIP 34 and BIP 66.
This interim client should make things easier on future development so there are less exceptions written into the code. This interim client is not meant to hinder other development efforts.
This client is a clean break from the v0.8.6.1 network. There was approximately a 12 hour difference between the snapshot at height 1314626 and this public release.
If I picked the wrong fork of the chain, let me know and we can do this experiment again with another chain. I selected this chain because it is the one which His Holy Noodliness's code identifies with in the peer swarm.
Best Regards, -Chicago
Will look at it these days, I am very happy that thoughts and efforts do come up these days! Nevertheless, this seems important: Are you on the same chain as our blockexplorer (daves work)? http://explorer.noodlyappendagecoin.net/If yes, I have got a few ideas too, what we can do to secure that this remains to be the right side of the ndl-blockchain. :-) Geez, n.
|
Before we begin, we should take a hard look at ourselves first.
(galgitron)
~
NDL Donations for future Airdrops: Ngo2somW9pLj4QC8cyHWKjrpTRYm
|
|
|
Chicago
|
|
October 16, 2018, 09:29:01 AM |
|
Yes, same chain. The hash at height 1314626 from the FSM bootstrap.dat in the new peer swarm matches the hash on the explorer. be76cac6a6c69b2eedbb2972722ffdbb5e18a0b83a5f59f9cc5cb5adc992bfc6 Divergence begins at 1314626 +1 because obviously I couldn't magically upgrade software remotely for everyone around the planet. Best Regards, -Chicago
|
|
|
|
Chicago
|
|
October 16, 2018, 09:33:52 AM |
|
I've been taking the "Network ID" as the pchmessage code. Perhaps they are not the same thing.
The Network ID is the first four bytes of every block. Wire protocol is little-endian. The pchMessageStart is the same as the Network ID.
|
|
|
|
nxtraordinary
Jr. Member
Offline
Activity: 100
Merit: 1
Pool for Future-Airdrops already at 9.000.000 NDL
|
|
October 16, 2018, 11:41:52 AM Last edit: October 17, 2018, 08:05:04 PM by nxtraordinary |
|
Yes, same chain. The hash at height 1314626 from the FSM bootstrap.dat in the new peer swarm matches the hash on the explorer. be76cac6a6c69b2eedbb2972722ffdbb5e18a0b83a5f59f9cc5cb5adc992bfc6 Divergence begins at 1314626 +1 because obviously I couldn't magically upgrade software remotely for everyone around the planet. Best Regards, -Chicago Great! :-) So, I would think it would be helpful, if our fellow dnp also inserted the github links you posted above, - into his Noodly Appendage Coin Info Pages! Thats here: http://dognose.com/~ndl/Here in the thread they are difficult to find after some days, I think. Noodly week! n. PS: Here are your cited postings that I did mean: Number one:I created a linear bootstrap.dat for the chain I'm synced with near height 1314626. You can download it here. Next, I'll see about trying that thing with the Network ID change as a proof-of-concept. And number two:Hello, In my experiment, I set the Network ID to FSM1. It wasn't too much effort to render a linear bootstrap.dat using the new Network ID. After that was done, I used His Holy Noodliness's code and made the following updates. - Update Gitian Recipes - Upgrade UPnP Support - Set Client Version to Noodlyappendagecoin v0.8.6.2 - Update Copyright Year to 2014-2018 - Set Checkpoint at Height 1314626 - Main Network 0x46534d01 - Test Network 0x46534d02 - Remove Legacy DNS Seeds - Remove pnSeed Array The source code is in the 4Q18 branch here. I have also produced Windows binaries. These Windows binaries use Berkeley DB v5.3. Here is how to try the "new peer swarm network". You must backup your current wallet.dat and data directory. Keep your backups! Next, move your current data directory someplace out of the way so you can sync the chain using the new FSM Network ID. You may use the newly prepared FSM bootstrap.dat to load the blocks from disk during the initial sync. Noodlyappendagecoin v0.8.6.2 for Windows is available here. It is noted as EXPERIMENTAL on the the repository releases page. There is one full node only and it is not mining. addnode=23.253.205.134 addnode=[2001:4801:7825:102:be76:4eff:fe10:3d29] If you would like to participate, just run the new code and start your miner. I am hoping this solves the network problems we discussed over the weekend and acts as a stop-gap until we perform another network upgrade to implement BIP 34 and BIP 66. This interim client should make things easier on future development so there are less exceptions written into the code. This interim client is not meant to hinder other development efforts. This client is a clean break from the v0.8.6.1 network. There was approximately a 12 hour difference between the snapshot at height 1314626 and this public release. If I picked the wrong fork of the chain, let me know and we can do this experiment again with another chain. I selected this chain because it is the one which His Holy Noodliness's code identifies with in the peer swarm. Best Regards, -Chicago
|
Before we begin, we should take a hard look at ourselves first.
(galgitron)
~
NDL Donations for future Airdrops: Ngo2somW9pLj4QC8cyHWKjrpTRYm
|
|
|
|