bulanula
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:08:36 AM |
|
Hope you guys are having fun with your demons while I am mining SC2
|
|
|
|
worldinacoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:09:14 AM |
|
One reason why I dump all my CPU hashes here is I find the coin owner humble and willing to listen to others and seems to have no quarrels with the rest unlike the rest of the coins which seemed to be created out to spite each other. Some hiccups here and there but seemed to be ironed out with the help of the owner.
|
|
|
|
2112
Legendary
Offline
Activity: 2128
Merit: 1073
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:12:25 AM |
|
Guys, here's a context diff for few % faster implementation of scrypt.c: *** scrypt.c.bak 2011-10-12 21:52:49.166078144 -0700 --- scrypt.c 2011-10-12 22:53:33.717402266 -0700 *************** *** 31,75 **** --- 31,94 ---- #include <stdlib.h> #include <stdint.h> #include <string.h> + #ifdef __GNUC__ + #include <byteswap.h> + #endif static inline uint32_t be32dec(const void *pp) { + #ifdef __GNUC__ + return bswap_32(*(uint32_t const *)pp); + #else const uint8_t *p = (uint8_t const *)pp; return ((uint32_t)(p[3]) + ((uint32_t)(p[2]) << 8) + ((uint32_t)(p[1]) << 16) + ((uint32_t)(p[0]) << 24)); + #endif } static inline void be32enc(void *pp, uint32_t x) { + #ifdef __GNUC__ + *(uint32_t*)pp = bswap_32(x); + #else uint8_t * p = (uint8_t *)pp; p[3] = x & 0xff; p[2] = (x >> 8) & 0xff; p[1] = (x >> 16) & 0xff; p[0] = (x >> 24) & 0xff; + #endif } static inline uint32_t le32dec(const void *pp) { + #ifdef __GNUC__ + return *(uint32_t const *)pp; + #else const uint8_t *p = (uint8_t const *)pp; return ((uint32_t)(p[0]) + ((uint32_t)(p[1]) << 8) + ((uint32_t)(p[2]) << 16) + ((uint32_t)(p[3]) << 24)); + #endif } static inline void le32enc(void *pp, uint32_t x) { + #ifdef __GNUC__ + *(uint32_t*)pp = x; + #else uint8_t * p = (uint8_t *)pp; p[0] = x & 0xff; p[1] = (x >> 8) & 0xff; p[2] = (x >> 16) & 0xff; p[3] = (x >> 24) & 0xff; + #endif }
You can use this code for other SCRYPT based coins as well. There's quite a bit of opportunity for further optimization, especially on the 64-bit systems, but I just don't have time to do it now. If somebody uses a Visual Studio compilers for Windows, the equivalent of "bswap_32" is "_byteswap_ulong". Have fun.
|
|
|
|
3phase
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 313
Merit: 251
Third score
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:15:06 AM |
|
I don't know why everyone is getting this number of orphans. I only got 45% orphans since 3:05AM GMT.
Daemon at a Public IP address with 19 peers connected currently.
Well it stops at 8 connections for me. only orphans also the network latency seems to be an issue, if you are in Europe you're apparently screwed.. I am also in Europe. In the farthest possible place.
|
|
|
|
grod
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:17:08 AM |
|
Guys, here's a context diff for few % faster implementation of scrypt.c:
Tried applying this to commit a8a1f3f8d4f1d3d891c049cd3d3b88e6960d9ca6 version of scrypt.c from ArtForz cpuminer and failed. I can see what you're doing here, when I'm less sleepy I'll patch this in by hand.
|
|
|
|
coblee (OP)
Donator
Legendary
Offline
Activity: 1654
Merit: 1329
Creator of Litecoin. Cryptocurrency enthusiast.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:18:15 AM |
|
I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks.
|
|
|
|
coblee (OP)
Donator
Legendary
Offline
Activity: 1654
Merit: 1329
Creator of Litecoin. Cryptocurrency enthusiast.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:18:55 AM |
|
I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks. To check to see if you are running latest client, getinfo should return version 40101.
|
|
|
|
ElectricMucus
Legendary
Offline
Activity: 1666
Merit: 1057
Marketing manager - GO MP
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:22:43 AM |
|
I don't know why everyone is getting this number of orphans. I only got 45% orphans since 3:05AM GMT.
Daemon at a Public IP address with 19 peers connected currently.
Well it stops at 8 connections for me. only orphans also the network latency seems to be an issue, if you are in Europe you're apparently screwed.. I am also in Europe. In the farthest possible place. well have a look... [ { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "f9e634a0536ee4c5ac65fd96da215000b59564b5d1c692c7e9695657ad3fb8a1", "time" : 1318479393 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "e17c8f15bc07afb7fed6c2d9a3b31557d706be51e72d40f9d4e9e130ecdea12f", "time" : 1318479670 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "86b791a257204b5633b8dca8e1ae143076b8c26dac6f3ebfdf630c4413c6cade", "time" : 1318480740 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "4da1ad877db5abfd73a2c7e3fa67b27cc5f5b51c4e4b327fa26a959afc9432ee", "time" : 1318482599 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "cdd5a6fd00ddfdf482e01bba90f00accede338efe5f3aaf05ba698f88478394c", "time" : 1318482644 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "85d7fb2a7dda92f22203e63822ad88f179bb8305eae2f1232151de0d64a35b5f", "time" : 1318482945 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "1a3a81fc6107b4709053509f652e4e62898427766fe8cdd9f3f312f768423e19", "time" : 1318483027 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "a26271e08e451b146b728dfa19d5c06f8c268c2a28384afb15bb18252ab1e974", "time" : 1318484709 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "a6c7041f83d0431fa733f4fd717cb95f2d5714146fcbf82f7b9435bfe81c9c84", "time" : 1318485279 }, { "account" : "", "category" : "orphan", "amount" : 50.00000000, "confirmations" : 0, "txid" : "f87d40f5a6e5d5118a8c6f357b05356854abc0e1dd71675a5b19e1a7aeb03534", "time" : 1318485545 } ]
|
|
|
|
coblee (OP)
Donator
Legendary
Offline
Activity: 1654
Merit: 1329
Creator of Litecoin. Cryptocurrency enthusiast.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:23:28 AM |
|
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:30:59 AM |
|
does it help to play with the -s factor? I tried lower values but did not notice a difference. what happened to the idea of a super node for everybody to connect to? my ip is 85.181.140.125:9333 in case anyone would like to connect. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:35:03 AM |
|
does it help to play with the -s factor? I tried lower values but did not notice a difference. what happened to the idea of a super node for everybody to connect to? my ip is 85.181.140.125:9333 in case anyone would like to connect. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Tell eme if you notice a slow down LOL ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) hehe my connections almost doubled ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:38:39 AM |
|
does it help to play with the -s factor? I tried lower values but did not notice a difference. what happened to the idea of a super node for everybody to connect to? my ip is 85.181.140.125:9333 in case anyone would like to connect. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Tell eme if you notice a slow down LOL ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) hehe my connections almost doubled ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) You like that huh? Cool....watch it drop now. well, connections hopped arround between 26 and 32 was that everything? ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif)
|
|
|
|
saethan
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:39:43 AM |
|
Compiled and running the 40101 daemon on linux. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) phelix - setting -s below 3 was very useful before the 4032 block since we were seeing a new block about every 3-4 seconds, so the default 5 second scan time would cause an unnecessary number of stales/orphans, but with the difficulty increase they're not being generated nearly as fast(I think the diffculty went up 400% or so at 4032?)
|
|
|
|
worldinacoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:42:50 AM |
|
I am mining very smoothly , do I need to update? I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks. To check to see if you are running latest client, getinfo should return version 40101.
|
|
|
|
coblee (OP)
Donator
Legendary
Offline
Activity: 1654
Merit: 1329
Creator of Litecoin. Cryptocurrency enthusiast.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:45:27 AM |
|
I am mining very smoothly , do I need to update? I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks. To check to see if you are running latest client, getinfo should return version 40101. If you don't want to get wiped out by a 51% attack, you should update. Just stop and the start the new client. You will be down just a few seconds.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:46:12 AM |
|
does it help to play with the -s factor? I tried lower values but did not notice a difference. what happened to the idea of a super node for everybody to connect to? my ip is 85.181.140.125:9333 in case anyone would like to connect. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Tell eme if you notice a slow down LOL ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) hehe my connections almost doubled ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) You like that huh? Cool....watch it drop now. well, connections hopped arround between 26 and 32 was that everything? ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) Yep, I don't wanna mess you up too bad. That's one of my pool killers, that was a single thread from 1 EC2 jumping across various ports. that's the spirit hope it is not you messing with deepbit and slush?
|
|
|
|
grod
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:47:40 AM |
|
So how often are you going to lock in blocks? Every retarget will get a bit out of control I'm thinking.
|
|
|
|
coblee (OP)
Donator
Legendary
Offline
Activity: 1654
Merit: 1329
Creator of Litecoin. Cryptocurrency enthusiast.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:50:41 AM |
|
So how often are you going to lock in blocks? Every retarget will get a bit out of control I'm thinking.
I will lock in the next retarget 6048 and then I will go to sleep and maybe another lock in when I wake up. We'll see. Once the difficulty catches up to the network, it would be harder for us to get attacked.
|
|
|
|
ElectricMucus
Legendary
Offline
Activity: 1666
Merit: 1057
Marketing manager - GO MP
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:51:50 AM |
|
I am mining very smoothly , do I need to update? I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks. To check to see if you are running latest client, getinfo should return version 40101. If you don't want to get wiped out by a 51% attack, you should update. Just stop and the start the new client. You will be down just a few seconds. Well, I have but I only got one connection so far ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) probably phelix which I added with connect= also I got 16 orphans and no blocks ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
worldinacoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 13, 2011, 06:52:55 AM |
|
Thanks will do ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I don't want my 7 blocks wipe out ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I am mining very smoothly , do I need to update? I just checked in code to lock in block 4032 after diff change. Please grab latest source. Windows client coming soon.
Windows client here: https://github.com/downloads/coblee/litecoin/litecoin-windows-client-40101.zipEveryone please update. Unfortunately twobits is asleep and can't help me build a windows daemon. And I only trust him to do that right now. So for those running on the daemon, you can stay with your current binary. As long as enough people are running the new build, we should be good against an attack. Thanks. To check to see if you are running latest client, getinfo should return version 40101. If you don't want to get wiped out by a 51% attack, you should update. Just stop and the start the new client. You will be down just a few seconds.
|
|
|
|
|