Bitcoin Forum
November 14, 2024, 09:30:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 [127] 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 »
  Print  
Author Topic: [NSFW] Official Sexcoin Thread - New MANDATORY upgrade: KGW Timewarp attack FIX  (Read 307648 times)
subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
June 18, 2014, 02:57:48 PM
Last edit: June 18, 2014, 05:33:52 PM by subSTRATA
 #2521

I have observed a strange behaviour of newest SXC client v0.6.4.6 and also older versions. I'm using blacklist to ban nodes which are not on v0.6.4.6 and by
looking at log-file there it becomes obvious SXC client just don't want to give up attempting to connect to some nodes. It makes no sense to keep on trying
when peers.dat file is almost 900 kB big, there must be a ton of IP addresses inside yet SXC client stubornly sticks to a dozen or so. In effect, my SXC node is
connected to less than 8 other nodes even after being online for few hours. Any other cryptocoin client (have 15 of them) connects to 8 other nodes in few
minutes, especially clients with 500 kB or bigger peers.dat file.

Blacklisted SXC nodes:

SEX:23.94.28.23-23.94.28.23
SEX:24.42.16.97-24.42.16.97
SEX:78.30.139.91-78.30.139.91
SEX:118.208.94.238-118.208.94.238
SEX:119.194.155.229-119.194.155.229
SEX:184.172.109.21-184.172.109.21



Also, Coin Control would be a nice addition to client.

theres nothing here. message me if you want to put something here.
Nerull
Full Member
***
Offline Offline

Activity: 195
Merit: 110


View Profile
June 20, 2014, 04:14:56 AM
 #2522

I believe that will be fixed when the .9 wallet comes out
Bitarama
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile WWW
June 20, 2014, 05:29:59 PM
 #2523

Crypto Vein
www.cryptovein.com



P2Pool with a twist
Guaranteed lowest DOA P2Pool
Current SXC DOA : 0.0%

We have built a totally new way to mine on p2pools:
  • PPLNS has been replaced by PROP payouts.
  • Killed off P2Pools DOA Shocked
  • Alot of coins to mine
  • Profit Switcher (cash out to BTC)
  • Manual Switcher (No more re-connecting and setting user names in your miners!)
  • Low payout thresholds
  • Friendly chat community
  • Live Balance updates
  • Lots of live stats and graphs
  • 1% fee on manual mining
  • 2% fee on profit switcher

Join Now to mine Sexcoin!


sxcer
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
June 22, 2014, 08:56:55 PM
 #2524

I have observed a strange behaviour of newest SXC client v0.6.4.6 and also older versions. I'm using blacklist to ban nodes which are not on v0.6.4.6 and by
looking at log-file there it becomes obvious SXC client just don't want to give up attempting to connect to some nodes. It makes no sense to keep on trying
when peers.dat file is almost 900 kB big, there must be a ton of IP addresses inside yet SXC client stubornly sticks to a dozen or so. In effect, my SXC node is
connected to less than 8 other nodes even after being online for few hours. Any other cryptocoin client (have 15 of them) connects to 8 other nodes in few
minutes, especially clients with 500 kB or bigger peers.dat file.
----snip-----
Also, Coin Control would be a nice addition to client.

like Nerull said, .9 will fix the coincontrol issue and the peers.dat reconnect issue should be improved.

The peers issue is actually alot more complicated due to using the same magic as litecoin. Our magic changed at block 680K. 6.4.6  (and back at least as far as 6.4.4) work with either magic basically.

Before the .9 release we are going to look into deprecating the old magic. We are 100% sure it can be done, we just haven't worked the exact process by which to deprecate it. The blockfiles contain the old magic written between blocks..... except if we redownload the blockchain.. it may be written with the new magic? I'm not sure and need to look into it.

.9 uses leveldb for block database and a new directory structure for blockfiles on disk, so it's a perfect chance to let .9 be "new magic" only and ensure blockfiles are written with only the new magic.

I think it's going to be pretty easy now that all clients on the network are using the new magic.... but we just need to step through the process and get the new client out. The key is that .9 will want to rewrite the blockfiles and blockdb, so we want to make sure we take advantage of that to deprecate the old magic entirely or at least as much as we can in .9 first release.

Of course coincontrol is in bitcoin .9.x so it will just "be there" for us.


I have noticed with the new magic enabled in the sexcoin-seeder app, that i had no need for filtering peers by port# (9560) to get rid of other coins... like I did when I first ported sexcoin-seeder (and it used the old magic). In that case the peers list included all ips that responded. They were tracked as "bad" and ultimately retried, eventually. I found that to truly ignore them I had to drop them from the peers db if their listening port didn't match 9560.

But, like i said, now that the magic changed I was able to update the magic in sexcoin-seeder and remove the code which filtered on listening port.
 
What we dont' fully understand is how long, or if ever, the non sxc peers will take to drop out of peers.dat. Clients which connect, exchange their known peers so the list sortof keeps propagating around containing non-sxc nodes.

In theory I think they will eventually be dropped out, but i am not familiar enough with the peers.dat logic in *coin.

When the clients exchange peers, the problem I found with sexcoin-seeder is that there was 50K or more litecoin or non-sexcoin nodes and less than 100 sexcoin nodes..... so as the local client chose a peer from db to retry every minute or two, odds are it would chose a non-sxc node.... which used the same magic, allowing an initial connection to succeed which caused the list of bad peers to be exchanged again, since one of the first things on connect was to exchange peers. (in fact like the only thing sexcoin-seeder did)

Another thing to point out about what we can do on the client end, is to update the version strings or values and reject older versions.. since 6.4.4 we've had at least 2 hardforks i think and no updates to the protocol version field or rejection logic. It may be that we introduce something there to help filter out these old nodes that are not on the current fork, but yet they have "new magic" code which allows them to look like they are current... sortof , until blockheight or blocks are exchanged.. which ithink may be or may sometimes be after peers are exchanged.


Overall, we want to incorporate all the above fix(es) and deprecation logic possible into the next release since at least every release I was involved in was a rush job that was needed ASAP with no time to really think about anything... even updating the dns seeding addresses or hardcoded nodes etc.

.9 and .6.4.7 (maybe we'll call it .6.5) are hopefully going to take advantage of all improvements and deprecate all old stuff that we can.
subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
June 23, 2014, 12:00:19 PM
Last edit: June 23, 2014, 12:19:30 PM by subSTRATA
 #2525

When the clients exchange peers, the problem I found with sexcoin-seeder is that there was 50K or more litecoin or non-sexcoin nodes and less than 100 sexcoin nodes..... so as the local client chose a peer from db to retry every minute or two, odds are it would chose a non-sxc node.... which used the same magic, allowing an initial connection to succeed which caused the list of bad peers to be exchanged again, since one of the first things on connect was to exchange peers. (in fact like the only thing sexcoin-seeder did)

Why bother with retrying the same connection when there are thousands other IPs available? For example, most Torrent P2P clients try just once and drop IP after 15
seconds or so of no reply. They will not attempt connection to already "pinged" IP again unless IP pool is used up and at that point they'll start all over again, randomly.

Perfect scenario would be to intentionaly drop some percentage of connections at random intervals, it would help against traffic analysis and strengthen the network.
Having all nodes "permanently" connected to other nodes makes it easy to monitor the traffic and create a list of transaction senders, all it takes is nodes at few key
locations within network. But if all user nodes drop some percentage of connections after every transaction sent or relayed then it is much harder to analyse traffic.

Or just give us a way to manualy "kill" connections, right now there is no such feature within SXC or other crypto wallets (addnode IP remove is not working properly).

theres nothing here. message me if you want to put something here.
sxcer
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
June 23, 2014, 05:07:24 PM
 #2526

When the clients exchange peers, the problem I found with sexcoin-seeder is that there was 50K or more litecoin or non-sexcoin nodes and less than 100 sexcoin nodes..... so as the local client chose a peer from db to retry every minute or two, odds are it would chose a non-sxc node.... which used the same magic, allowing an initial connection to succeed which caused the list of bad peers to be exchanged again, since one of the first things on connect was to exchange peers. (in fact like the only thing sexcoin-seeder did)

Why bother with retrying the same connection when there are thousands other IPs available? For example, most Torrent P2P clients try just once and drop IP after 15
seconds or so of no reply. They will not attempt connection to already "pinged" IP again unless IP pool is used up and at that point they'll start all over again, randomly.

Perfect scenario would be to intentionaly drop some percentage of connections at random intervals, it would help against traffic analysis and strengthen the network.
Having all nodes "permanently" connected to other nodes makes it easy to monitor the traffic and create a list of transaction senders, all it takes is nodes at few key
locations within network. But if all user nodes drop some percentage of connections after every transaction sent or relayed then it is much harder to analyse traffic.

Or just give us a way to manualy "kill" connections, right now there is no such feature within SXC or other crypto wallets (addnode IP remove is not working properly).

I don't fully understand the logic or algorithm for selecting nodes to connect to, so I can't say much for sure.
Except, the nodes do try other ips randomly, and keep track of recently tried ones. As I understand it, once they have not been seen in some minimum interval, they are in the pool of "can be chosen to reconnect to".

the biggest problem we have and had was that the pool contains tens of thousands of nodes that DO reply with valid messages and message responses. At least up to a point. That was the purpose of blockheight limits, proto version limits, etc that were coded in, to try and reject nodes that were replying, but were not sexcoin nodes.

I dont disagree with your logic, but what we have a is a situation where the peer logic as coded is straight from bitcoin, we did not create the process by which nodes are retried, archived, graded etc. and I'm not inclined to alter that logic that works for bitcoin considering we haven't finished migrating to a single sxc-only magic.

It seems that with the new dedicated sxc-only magic we have greatly improved the situation and now what remains may very well be due to sxc client specific issue(s)... namely that peers.dat is 99% full of non-sxc nodes and keeps getting propagated from node to node on every connect, plus current clients accepting both magics which means they can still connect to non-sxc nodes enough to exchange peers with them

I, or we, need to read through the magic handing code and almost for sure create a client that does NOT accept old magic and infact has no knowledge of old magic etc. This may require either a conversion process for any preexisinting blockfiles on the client or a redownoad of the blockchain.


Anyway, the goal is to elminate all your concerns, which are shared by the devs, but we just havne't gotten it done.
lavajumper
Hero Member
*****
Offline Offline

Activity: 873
Merit: 1035


Sexcoin Core Dev Team Member


View Profile
June 23, 2014, 08:05:33 PM
 #2527

Its safe to delete your peers.dat.
Shut down your client, delete peers.dat, restart and let it rebuild.
That should take care of almost ALL of the old garbage.
You may be surprised how much better it runs.

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com | Bitrated user: Lavajumper.
sxcer
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
June 26, 2014, 07:51:03 PM
 #2528

Its safe to delete your peers.dat.
Shut down your client, delete peers.dat, restart and let it rebuild.
That should take care of almost ALL of the old garbage.
You may be surprised how much better it runs.
it takes care of it and gives you a glimpse of how things could be.... until it fills back up with other coins peers that it learns from a node it connects to.

if we could get every node to delete peers.dat at the same instant, it would last longer, or forever.

This is where we may be able to improve the situation if we deprecate old versions.. and maybe in conjunction don't load addresses from some "less old" versions.

I'm running .9 with only the single new magic num in it, peers.dat fills up same as always.

The problem as I understand it is that peer addresses are exchanged pretty much at the begining of any new connection. If you delete peers.dat, you have now made all subsequent connections "new" since there is no history of last contact with any address. so your client seeds from IRC or dnsseed addnode= etc and rx's a peer list from each new connection. So unless each of those connections has deleted his peers.dat and started fresh, one or all of them has 50K peers with most bogus.... and you will accept them from him as you always have.

subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
June 27, 2014, 04:53:58 PM
Last edit: June 27, 2014, 05:06:18 PM by subSTRATA
 #2529

Another thing where SXC works differently than other Bitcoin-based altcoins is maxconnections command. With other wallets, maxoutboundconnections is hard-coded to
8 which means if maxconnections=8 and there are 8 outgoing connections established since wallet startup then it will not attempt to make any more nor it will accept
any incoming connections. If maxconnections=16 and there are already 8 outgoing connections then wallet will just accept up to 8 more incoming connections, it will not
attempt to connect to any more nodes. But with SXC it is different or it is a syntax error at getpeerinfo (namely "inbound" : false where it should be "inbound" : true),
in the scenario as above SXC wallet will connect to up to 16 nodes. That means up to 16 outgoing connections which leaves no room for any incoming connections.
I don't know the exact reasons for Bitcoin developers picking just 8 outgoing connections as maximum but it all seems to be working just fine (excluding the fact that
network which does not reconfigures itself frequently and constantly is an easy target for traffic analysis, see my previous post).

It would be great if user could specify any configuration via .conf file, for example:

maxconnections=16
maxoutboundconnections=4

or alternatively

maxconnections=16
maxinboundconnections=12

but neither maxoutboundconnections nor maxinboundconnections commands are available. Nonetheless, SXC should stop attempting to connect to more nodes once it
already established 8 outgoing connections.

theres nothing here. message me if you want to put something here.
sxcer
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
June 27, 2014, 08:18:43 PM
 #2530

yeah i will say that issues like you just described with maxconn inbound etc will work exactly like bitcoin with v.9.x i have working now. I know because the code .9 started as a github fork of bitcoin and I haven't changed anything to do with the connection scheme or logic.

I think it's safe to say that the behavior you described was added after bitcoin .5 or .6, wherever sexcoin was forked from. Sexcoin was never updated with really any features from bitcoin after the fork.... as far as I can tell.

That is one major goal with sexcoin-ng, it is a true "github fork" that you can easily compare and create pull requests via web interface.
We can rebase/merge and keep in sync with bitcoin or at least only slightly behind it.

I'm waiting to rebase what I have now in https://github.com/sxcer/sexcoin-ng until i finish a sexcoin-ng-qt branch(where i'm modding the qt client) and get it merged into master.




HungryLaunch
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 28, 2014, 08:29:16 PM
 #2531

what happened with sexcoin? The price is still lower and lower.
Nerull
Full Member
***
Offline Offline

Activity: 195
Merit: 110


View Profile
June 29, 2014, 03:56:43 AM
 #2532

My guess would be that not much has been released about it lately. Tho there are a number of people working on various projects that should renew interest in it. The Tiffany snow comp is wrapping up in a little over a week, that might drive some buzz short term
SXCLadies
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile WWW
July 05, 2014, 11:47:07 AM
Last edit: July 05, 2014, 03:12:28 PM by SXCLadies
 #2533

I had posted here the original comp info with screen shots but it got deleted by mods so here it goes again.

Tiffany snow comp is coming to a close, only 2 days left to get your entry in! You can find the full comp details HERE

So get your entries in before its too late!

UPDATE

Next 3 entries into the comp will receive DOUBLE the number of tickets into the comp. So 1k sxc will get you 2 entries! 50k will get you 100 and so on !!!!!!
variantolog
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 07, 2014, 05:11:04 PM
 #2534

Cast your vote and help Sexcoin get accepted on the AllCoin exchange
Vote here https://allcoin.com/vote
Registration required.


Cast your vote and help Sexcoin get accepted on the Comkort exchange
Vote here https://comkort.com/vote#SXC
Registration required.
SXCLadies
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile WWW
July 08, 2014, 01:35:16 AM
 #2535

Tiffany Snow contest is now over. Everyone who entered should have been sent their entry number. Here are the numbers you have been assigned for the draw.

In 12 hours time a winner will be randomly selected via a random draw at http://www.randomresult.com/ticket.php?t=8052TVFM5. The winner will be notified be email shortly after the draw.

Good luck to you all and I hope the winner has an awesome time!
Timelord2067
Legendary
*
Offline Offline

Activity: 3850
Merit: 2246


💲🏎️💨🚓


View Profile
July 08, 2014, 02:13:19 PM
 #2536

Hi - I've been unable to download the block chain since mid May - am on 646 even tried to del the block chain and start again without success...

Congrats on one year since this thread was started too BTW.

Regards,

Nerull
Full Member
***
Offline Offline

Activity: 195
Merit: 110


View Profile
July 08, 2014, 09:41:39 PM
 #2537

Are you getting connections to peers?
Timelord2067
Legendary
*
Offline Offline

Activity: 3850
Merit: 2246


💲🏎️💨🚓


View Profile
July 09, 2014, 12:27:38 PM
 #2538

Are you getting connections to peers?

I am - but no download...
(I deleted the entire block chain and it stops at 39999)

dragonseer
Hero Member
*****
Offline Offline

Activity: 611
Merit: 500


Anglo Saxon Crypto Enthusiast


View Profile
July 09, 2014, 01:06:36 PM
Last edit: July 09, 2014, 02:04:42 PM by dragonseer
 #2539

I have the same issue and the wallet seems like it is stuck at the same block (block 694294). I just left the wallet open for a while and get an error message in the wallet itself: EXCEPTION: 11DvException Db::get: Not enough space C:\Users\Path_to_sexcoin-qt.exe in Process . I have enough space on my hard drive not sure what's going on.  Huh

Crypto sales and more here: https://www.ebay.com.au/usr/dragon-seer
sxcer
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
July 09, 2014, 02:13:38 PM
 #2540

I have the same issue and the wallet seems like it is stuck at the same block (block 694294). I just left the wallet open for a while and get an error message in the wallet itself: EXCEPTION: 11DvException Db::get: Not enough space C:\Users\Path_to_sexcoin-qt.exe in Process . I have enough space on my hard drive not sure what's going on.  Huh

quite a few people saw that error at one of the forks. the solution was to delete all the block chain data... don't delete wallet.dat of course Smiley and re-download.

The out of space seems to refer to DB entry space or something for orphan blocks or something, I'm not really sure but none of the reporters were ever out of disk space.
Pages: « 1 ... 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 [127] 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!