Sexcoin Forum

Development => Main Wallet => Topic started by: lavajumper on June 23, 2017, 11:03:48 PM

Title: Release for V. 0.10.4.0
Post by: lavajumper on June 23, 2017, 11:03:48 PM
Sexcoin is in the final phases of testing the next client. The Core client is based on Litecoin 0.10.4.0.

This is a repost of this announcement. All information is still pertinent.

There will be a "soft fork" to enable some new features, and miners are going to be most affected.
 

The most significant changes:



As an added bonus, the dev team has a version of P2Pool available which should work "out-of-the-box" for anyone wanting to run a P2Pool. We do not have a pre-compiled widows version of this yet, but hope to be able to provide that in the near future.

We need help letting miners and exchanges know of the upcoming upgrade.
 
IF YOU MINE on a pool that is NOT LISTED, please let your pool-op know!
IF YOU TRADE somewhere that is not listed, please let your exchange admins know!





Notes on the new upgrade:
The new client uses a new database backplane for the blockchain. This means that you will need to download a new copy of the blockchain even if you are upgrading.

Make CERTAIN you create a backup of your wallet before running the upgrade. The wallet also uses a new database schema, and will automatically be converted when you run the client for the first time. IF anything goes wrong, the easiest course is to shut down your client, copy the wallet.dat backup into your data directory and restart the program to let it upgrade the wallet again.


Bootstrap file is available for anyone wanting to download it in preparation for the release:

https://github.com/sexcoin-project/sexcoin-bootstrap

The bootstrap file is ONLY BLOCK DATA. We haven't officially released the new client.
It is available so you can download it in preparation for the new client.


If you are starting a brand new client, you may need to:


Age Verification and Sexcoin

I wanted to take a minute and fill in some information about the age verification feature in the new client.  Age verification is a self-reported verification that is carried IN the transaction and written to the block-chain. This is accomplished through creating a flag field in the existing transaction version field. In effect, the high-byte of the transaction version carries the flags and the low-byte carries the transaction version.

We had a lot of discussion about the validity of 'self-reported' age-verification, and whether it was really worth putting into the client at all. The decision to write the feature in was accepted because self-reporting does provide merchants and end-users a certain amount of protection. If you doubt this, go to porn.com, and initiate a bitcoin purchase. This is processed with a button certifying your age. Pair that with the number of sites you can access with a button-click, and you can see that it does hold weight. In effect, the sender is certifying they are of age. As a merchant, the client has lied to you if they are not, so the client is culpable of fraud.

Also, the way we've implemented the verification actually implies that "better" is on the way. We've been looking at services like Sho-Card and a couple of others that offer very strong verification, and we have left room in the code to be able to 'fold-in' third-party verification schemes in the future. This is what we REALLY want to see.

I think the real power of this layout is that the flag is carried in the transaction, so it can be confirmed any time, by anyone (de-centralized ) in the future that age-verification was provided by looking up the transaction via the block-explorer.

Finally, I want to mention that age-verification offers protection both ways, and in some sense can make the coin useful in tangent with other payment schemes. I do picture a cam-to-cam scenario where both parties send age-verified coins to each other, providing an electronic signature that both are of age. Another scenario would be sending sexcoin with age-verification flags set as a side-transaction, with the bulk of the "traded-value" being doge or litecoin.

Title: Re: Release for V. 0.10.4.0
Post by: lavajumper on June 23, 2017, 11:04:55 PM
Very Important Information!!

The new client is getting ready for release. Here are some of the nitty-gritty caveats and details.

There is the possibility of some pain points during this upgrade:


I think when you fully understand the different permutations involved, you can see why the release got delayed for so long. Is it better to get miners first, then users? Is it better to upgrade users first, and pray they don't set age verification? Should we simply release and have everyone explode? Is there some way to code in a solution? This last question is what has taken the longest amount of time. We've attempted code solutions, but at the end of the day, the only effective changes that mitigate lie in changing the code in the old client, which obviously is stupid, if we're releasing a new client.
Title: Re: Release for V. 0.10.4.0
Post by: lavajumper on June 23, 2017, 11:05:52 PM
New Client is Available for Miners

Clone and build:
Code: [Select]
git clone -b 0.10.4.0 https://github.com/sexcoin-project/sexcoin

This version uses the excellent 'depends' system. If you are unfamiliar with it, look at the readme's in the '/depend' directory.

You might not need it at all, but if you do, it works quite well.

EDIT:  0.10.4.0 branch has been merged to 'Master' , so clone the default branch now!
Title: Re: Release for V. 0.10.4.0
Post by: sosxc on July 19, 2017, 07:21:49 PM
Is anyone else running p2pool?    I tried the new p2pool, but it does not connect to any peers.   Anything special I should do?

Quote
As an added bonus, the dev team has a version of P2Pool available which should work "out-of-the-box" for anyone wanting to run a P2Pool.



Title: Re: Release for V. 0.10.4.0
Post by: lavajumper on July 22, 2017, 03:49:28 PM
Is anyone else running p2pool?    I tried the new p2pool, but it does not connect to any peers.   Anything special I should do?


I know e-pools is running p2pool. Maybe ping him on BCT?

iirc... that should connect to any other p2pools, but everyone has to agree on the port. Maybe look there?
Title: Re: Release for V. 0.10.4.0
Post by: sosxc on July 26, 2017, 12:55:33 AM
yeah, running with default port.

Code: [Select]
2017-07-25 17:52:17.956779 Joining p2pool network using port 8698...
2017-07-25 17:52:18.241344     ...success!
...
2017-07-25 17:52:18.994075 Peer 62.152.54.44:8698 misbehaving, will drop and ban. Reason: peer too old
2017-07-25 17:52:18.994320 Bad peer banned: (u'62.152.54.44', 8698)
...
2017-07-25 17:54:06.457343 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)

I'm not sure how it finds peers.  do you know lava?
Title: Re: Release for V. 0.10.4.0
Post by: lavajumper on July 28, 2017, 04:22:37 AM
yeah, running with default port.

Code: [Select]
2017-07-25 17:52:17.956779 Joining p2pool network using port 8698...
2017-07-25 17:52:18.241344     ...success!
...
2017-07-25 17:52:18.994075 Peer 62.152.54.44:8698 misbehaving, will drop and ban. Reason: peer too old
2017-07-25 17:52:18.994320 Bad peer banned: (u'62.152.54.44', 8698)
...
2017-07-25 17:54:06.457343 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)

I'm not sure how it finds peers.  do you know lava?

send e-pools a BCT PM.. he's pretty responsive

but you _might_ have just solved a mystery... I've been trying to track down a P2Pool that hasn't upgraded.. I think you just did!

EDIT: I'm sorry I'm not more help .... I just haven't had time to look deep into P2Pool for a while.
Title: Re: Release for V. 0.10.4.0
Post by: Timelord2067 on August 02, 2017, 06:29:36 AM
Right now:

Seven of seventeen wallet I'm connected to on my 24/7 empty 10.4.0 wallet are running version 6.4.6 right at the moment, while the remaining ten are 10.4.0

It's the most connections I can recall having similtaniously on the new wallet version.

(no banned nodes list showing)