Bitcoin Forum
November 04, 2024, 03:05:20 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 ... 416 »
  Print  
Author Topic: [ANN] Litecoin - a lite version of Bitcoin. Launched!  (Read 1467188 times)
bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
October 13, 2011, 06:08:36 AM
 #381

Hope you guys are having fun with your demons while I am mining SC2 Smiley
worldinacoin
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 13, 2011, 06:09:14 AM
 #382

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 Offline

Activity: 2128
Merit: 1073



View Profile
October 13, 2011, 06:12:25 AM
 #383

Guys, here's a context diff for few % faster implementation of scrypt.c:

Code:
*** 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.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
3phase
Sr. Member
****
Offline Offline

Activity: 313
Merit: 251


Third score


View Profile
October 13, 2011, 06:15:06 AM
 #384

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.

Fiat no more.
Δoκιμάστε τo http://multibit.org - Bitcoin client τώρα και στα Eλληνικά
grod
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
October 13, 2011, 06:17:08 AM
 #385

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 Offline

Activity: 1654
Merit: 1351


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
October 13, 2011, 06:18:15 AM
 #386

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.zip

Everyone 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 Offline

Activity: 1654
Merit: 1351


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
October 13, 2011, 06:18:55 AM
 #387

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.zip

Everyone 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 Offline

Activity: 1666
Merit: 1057


Marketing manager - GO MP


View Profile WWW
October 13, 2011, 06:22:43 AM
 #388

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...



Code:
[
    {
        "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 Offline

Activity: 1654
Merit: 1351


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
October 13, 2011, 06:23:28 AM
 #389

Litecoin is on http://allchains.info/ now

phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
October 13, 2011, 06:30:59 AM
 #390

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

phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
October 13, 2011, 06:35:03 AM
 #391

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



Tell eme if you notice a slow down LOL  Grin Grin Grin

hehe my connections almost doubled Wink
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
October 13, 2011, 06:38:39 AM
 #392

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



Tell eme if you notice a slow down LOL  Grin Grin Grin

hehe my connections almost doubled Wink

You like that huh? Cool....watch it drop now.

well, connections hopped arround between 26 and 32  was that everything?  Tongue

saethan
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
October 13, 2011, 06:39:43 AM
 #393

Compiled and running the 40101 daemon on linux.  Smiley

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
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 13, 2011, 06:42:50 AM
 #394

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.zip

Everyone 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 Offline

Activity: 1654
Merit: 1351


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
October 13, 2011, 06:45:27 AM
 #395

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.zip

Everyone 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 Offline

Activity: 1708
Merit: 1020



View Profile
October 13, 2011, 06:46:12 AM
 #396

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



Tell eme if you notice a slow down LOL  Grin Grin Grin

hehe my connections almost doubled Wink

You like that huh? Cool....watch it drop now.

well, connections hopped arround between 26 and 32  was that everything?  Tongue



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
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
October 13, 2011, 06:47:40 AM
 #397

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 Offline

Activity: 1654
Merit: 1351


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
October 13, 2011, 06:50:41 AM
 #398

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 Offline

Activity: 1666
Merit: 1057


Marketing manager - GO MP


View Profile WWW
October 13, 2011, 06:51:50 AM
 #399

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.zip

Everyone 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
probably phelix which I added with connect=

also I got 16 orphans and no blocks  Sad
worldinacoin
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 13, 2011, 06:52:55 AM
 #400

Thanks will do Smiley I don't want my 7 blocks wipe out Smiley

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.zip

Everyone 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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 ... 416 »
  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!