Denni
|
|
April 15, 2014, 11:20:13 AM |
|
As it' s said in their whitepaper CryptoNight is "a new memory-bound algorithm for the proof-of-work pricing function. It relies on random access to a slow memory and emphasizes latency dependence. As opposed to scrypt every new block (64 bytes in length) depends on all the previous blocks. As a result a hypothetical "memory-saver" should increase his calculation speed exponentially". More info you can get by yourself here. So scrypt gives us ASIC-resistance, but this algo is much better at this field. From 128KB (scrypt) to 2MB (CryptoNight) is a factor 16 increase in memory usage. To improve ASIC-resistance further, you'd like to require hundreds of MB, but that would make verification even slower than it already is. Other memory-bound proofs-of-work avoid this problem (at the cost of introducing more parrallellism) by having an asymmetry between computation and verification. E.g. Momentum, memory-coin 2, my own Cuckoo Cycle, or Coelho's scheme ( "An (Almost) Constant-Effort Solution-Verification Proof-of-Work Protocol based on Merkle Trees" AfriCrypt 2008, Fabien Coelho) Nice to see you took note of this, that's good news! Would you mind going over some of the parallels/differences between some of these PoW's compared to this one? I'd especially like a comparison between this one and yours, as I've read some of your posts about it and have a little bit of an understanding. I'm not really familiar with MMC2 (I know it uses AES, but not much more) or Coelho's scheme though. I'll stick with CryptoNight vs Cuckoo Cycle, assuming a size 2^{32} for the latter memory 2MB 4GB memoy-hardness solid can run twice as slow in 3GB, or 50% faster in 6GB hardness hypothesized; not provable parallellizable not at least 20+ threads (probably less than 100) access pattern random random latency low (cache) high (main memory) verification slow instant %computation probably > 90% 33% %memory probably < 10% 67% Can you explain what latency means in this particular case? I mean I know it's some kind of delay between something but what stands for "something" here?
|
|
|
|
tromp
Legendary
Offline
Activity: 982
Merit: 1088
|
|
April 15, 2014, 12:56:02 PM |
|
I'll stick with CryptoNight vs Cuckoo Cycle, assuming a size 2^{32} for the latter memory 2MB 4GB memoy-hardness solid can run twice as slow in 3GB, or 50% faster in 6GB hardness hypothesized; not provable parallellizable not at least 20+ threads (probably less than 100) access pattern random random latency low (cache) high (main memory) verification slow instant %computation probably > 90% 33% %memory probably < 10% 67%
Can you explain what latency means in this particular case? I mean I know it's some kind of delay between something but what stands for "something" here? Latency is the time between the start of a memory access instruction, and it's end, when the value has been retrieved, and is available for use.
|
|
|
|
Lamalicious
Member
Offline
Activity: 148
Merit: 10
|
|
April 15, 2014, 01:27:43 PM |
|
Recently updated the version, started bytecoind and stumbled upon this: Attempting to add IGD port mapping. No IGD was found. So I googled it and found (surprise) http://en.wikipedia.org/wiki/Internet_Gateway_Device_ProtocolCan somebody elaborate on this? What is it for and why it is now in the daemon client.
|
|
|
|
Denni
|
|
April 15, 2014, 01:36:35 PM |
|
I'll stick with CryptoNight vs Cuckoo Cycle, assuming a size 2^{32} for the latter memory 2MB 4GB memoy-hardness solid can run twice as slow in 3GB, or 50% faster in 6GB hardness hypothesized; not provable parallellizable not at least 20+ threads (probably less than 100) access pattern random random latency low (cache) high (main memory) verification slow instant %computation probably > 90% 33% %memory probably < 10% 67%
Can you explain what latency means in this particular case? I mean I know it's some kind of delay between something but what stands for "something" here? Latency is the time between the start of a memory access instruction, and it's end, when the value has been retrieved, and is available for use. And from your numbers I assume that cache is much faster compared to main memory?
|
|
|
|
Cheesus
Sr. Member
Offline
Activity: 692
Merit: 254
terra-credit.com
|
|
April 15, 2014, 02:52:13 PM |
|
Currently there is a transaction in transaction pool that won't go away even when the block is found. Maybe this problem is some how connected.
Actually now that I'm thinking about it . . my computer was connecting to a lot of different addresses and then rejected and then it carried on to the next. So it would seem that my computer was trying to cash a transaction that had already been spent . . or was being used to try and verify one. Maybe someone is trying to use the transaction pool to do double spends and failing? Or maybe they're just trying to make a lot of traffic? Was anyone else getting this? Looked at the source again, I see that there's a note above that code block . . so I would guess this has happened before because a description isn't on every block of code. Heres the description: //check key images for transaction if it is not kept by block. More on this. I don't know if I'm lucky or what but I'm not receiving connection errors. Not a single disconnect in 2 days. Also, this mysterious transaction is still in the txpool. Interesting how long will it take to process it.
|
███████████████████████ █████████████████████ ███████████████████ █████████████████ ███████████████████████ █████████████ ███████████ █████████ ███████ █████ ███ █
| terracredit | | ● ● ● ● ● ● ●
| | | | ● ● ● ● ● ● ●
| | Powered by,
|
|
|
|
DStrange (OP)
|
|
April 15, 2014, 03:29:22 PM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing?
|
|
|
|
tromp
Legendary
Offline
Activity: 982
Merit: 1088
|
|
April 15, 2014, 03:49:16 PM |
|
I'll stick with CryptoNight vs Cuckoo Cycle, assuming a size 2^{32} for the latter memory 2MB 4GB memoy-hardness solid can run twice as slow in 3GB, or 50% faster in 6GB hardness hypothesized; not provable parallellizable not at least 20+ threads (probably less than 100) access pattern random random latency low (cache) high (main memory) verification slow instant %computation probably > 90% 33% %memory probably < 10% 67%
Can you explain what latency means in this particular case? I mean I know it's some kind of delay between something but what stands for "something" here? Latency is the time between the start of a memory access instruction, and it's end, when the value has been retrieved, and is available for use. And from your numbers I assume that cache is much faster compared to main memory? Yes; cache is at least an order of magnitude faster than main memory. Note that CryptoNight also does a lot more computation per random memory access (AES encryption) than Cuckoo Cycle (siphash-2-4), further contributing to its high computational load.
|
|
|
|
Wanesst
|
|
April 15, 2014, 05:03:57 PM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing? I want to take part in promotion! But I’m not dev or designer
|
|
|
|
Wanesst
|
|
April 15, 2014, 05:05:24 PM |
|
|
|
|
|
DStrange (OP)
|
|
April 15, 2014, 05:07:29 PM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing? I want to take part in promotion! But I’m not dev or designer Doesn't matter at all, The fact you are ready to help is enough. PM me to discuss, pls
|
|
|
|
Wanesst
|
|
April 15, 2014, 05:13:44 PM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing? I want to take part in promotion! But I’m not dev or designer Doesn't matter at all, The fact you are ready to help is enough. PM me to discuss, pls Deal!
|
|
|
|
abit2slo
Member
Offline
Activity: 80
Merit: 10
|
|
April 15, 2014, 07:04:16 PM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing? I want to take part in promotion! But I’m not dev or designer Doesn't matter at all, The fact you are ready to help is enough. PM me to discuss, pls me too. how about to discuss everything? mailing list?
|
|
|
|
Xdragon
|
|
April 15, 2014, 09:58:16 PM |
|
diff is is rising . right now ~900k
|
|
|
|
NoodleDoodle
Member
Offline
Activity: 84
Merit: 10
D*CK Profiler
|
|
April 16, 2014, 03:49:55 AM |
|
diff is is rising . right now ~900k
How do you get the difficulty?
|
|
|
|
the_darkness
Member
Offline
Activity: 79
Merit: 10
|
|
April 16, 2014, 05:43:50 AM |
|
diff is is rising . right now ~900k
How do you get the difficulty? It's reported when the daemon first connects to the network. Not sure if there is a way to get it poll at any given time.
|
|
|
|
NoodleDoodle
Member
Offline
Activity: 84
Merit: 10
D*CK Profiler
|
|
April 16, 2014, 06:12:51 AM |
|
diff is is rising . right now ~900k
How do you get the difficulty? It's reported when the daemon first connects to the network. Not sure if there is a way to get it poll at any given time. I see. Thanks for the info.
|
|
|
|
ndonnard
Member
Offline
Activity: 109
Merit: 10
|
|
April 16, 2014, 09:00:32 AM |
|
Hi, guys! Giveaway is still in progress, but there will be no giveaway txs till tomorrow (due to some technical reasons). Sorry BTW how about forming some activists group to promote the coin and to support further services developing? I want to take part in promotion! But I’m not dev or designer Doesn't matter at all, The fact you are ready to help is enough. PM me to discuss, pls Deal! I want to join you team!
|
|
|
|
Cheesus
Sr. Member
Offline
Activity: 692
Merit: 254
terra-credit.com
|
|
April 16, 2014, 09:19:10 AM |
|
diff is is rising . right now ~900k
How do you get the difficulty? Also everytime the block is found there is a HEIGHT xxxxxx, difficulty: xxxxxx line. (visible only with set_log 1)
|
███████████████████████ █████████████████████ ███████████████████ █████████████████ ███████████████████████ █████████████ ███████████ █████████ ███████ █████ ███ █
| terracredit | | ● ● ● ● ● ● ●
| | | | ● ● ● ● ● ● ●
| | Powered by,
|
|
|
|
matej krkic
|
|
April 16, 2014, 09:28:06 AM |
|
Small hint: you can make curl request to your daemon and get difficulty anytime. In linux this works: curl localhost:8081/getinfo
|
|
|
|
Cheesus
Sr. Member
Offline
Activity: 692
Merit: 254
terra-credit.com
|
|
April 16, 2014, 09:28:30 AM |
|
diff is is rising . right now ~900k
1kk diff milestone is passed! :O Major power is coming?
|
███████████████████████ █████████████████████ ███████████████████ █████████████████ ███████████████████████ █████████████ ███████████ █████████ ███████ █████ ███ █
| terracredit | | ● ● ● ● ● ● ●
| | | | ● ● ● ● ● ● ●
| | Powered by,
|
|
|
|
|