Bitcoin Forum
December 11, 2016, 12:29:37 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
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 ... 176 »
  Print  
Author Topic: Devcoin  (Read 369443 times)
btc_artist
Full Member
***
Offline Offline

Activity: 154


Bitcoin!


View Profile WWW
December 28, 2011, 03:10:10 PM
 #341

cablepair, are the email issues worked out yet on the pool?  I still haven't been able to register/confirm my email successfully.  Thanks.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481416177
Hero Member
*
Offline Offline

Posts: 1481416177

View Profile Personal Message (Offline)

Ignore
1481416177
Reply with quote  #2

1481416177
Report to moderator
markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 04:05:05 PM
 #342

and my pool is ready to merge mine dvc/nmc/btc as soon as the daemon is compatible

It compiles, the DiabloMiner is mining with it right now but hasn't found any blocks yet.

I don't know yet whether it might have messed with any of the finicky things we did in last few changes though, as it might have tried to fix the timetravel exploit which might laready have been fixed by the changes Unthinkingbit had me put in previously.

So hey, give it a whirl and see if it works with your merged mining pool...

The USL, again, is https://github.com/knotwork/old-devcoind

Basically all I did was apply patches provided by doublec.

-MarkM-

EDIT: it just mined block 23405, anyone have any problems with that block?

EDIT2: its a good bet that the same patches will work on GRouPcoin too! Smiley

EDIT3: now it has mined block 23406. Anyone seeing any problems?

EDIT4: ouch, I also mined 23407, 23408 and 23409, isn't anyone else mining? I am onlyt using about 220 MH/sec, it seems to be finding blocks awfully fast... Maybe something *is* wrong?


Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 05:13:41 PM
 #343


Assembler messages:
Fatal error: can't create obj/nogui/util.o: No such file or directory
make: *** [obj/nogui/util.o] Error 1
 

?
markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 05:23:27 PM
 #344


Assembler messages:
Fatal error: can't create obj/nogui/util.o: No such file or directory
make: *** [obj/nogui/util.o] Error 1
 

?

Hmm, long ago a version of bitcoin didn't include the obj directory as shipped.

Does the directroy actually exist? I wonder since its aying it can't *create* util.o not that it can't *find* it nor that it can't find something it needs in order to build util.o ...

Yeah the .gitignore in obj directroy is saying ignore everything except the .ignore itself, yet there are two subdirs, one of which is the nogui subdir, which you therefore don't have from github.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 05:41:32 PM
 #345

it doesn't exist, obj is an empty directory

any ideas? I am dying to try this out
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 06:26:25 PM
 #346

what are the dependencies here, I am having a hell of a time compiling, can you get me a binary that was compiled on an intel cpu? I am dying to find out of merged works...
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 06:40:36 PM
 #347

ok I was able to compile it, its downloading block chain now, lets see if it will actually merge mine...
markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 06:42:46 PM
 #348

src/obj, src/obj/nogui and src/obj/test are on github now.

I compiled and run on a Fedora 15, 64 bit machine.

The dependencies are the same as bitcoin used to have.

Use make -f makefile.whatever bitcoind to compile the daemon.

make-f makefile.whatever by itself will try to make the wxWidgets GUI version which no one has even tried to compile let alone run. (Since we have devcoin-qt for a GUI version).

It tries to compile the plug and play router adjusting thing, UPNP or mini UPNP or some such if you don't tell it not to.

What it needs that bitcoin didn't is probably boost if bitcoin didn't use boost, and hmm maybe curl to go get URLs so as to fetch the beneficiaries (receivers) files.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 07:39:17 PM
 #349

this may be a stupid question but you went in and setup your workers and all that too right?

I just tested mining with cgminer-cpuonly from my laptop and I was able to connect no problem

Code:
cgminer-cpuonly -o pool.devcoin.org:8999 -u tom.tom1 -p tom1


markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 07:51:43 PM
 #350

this may be a stupid question but you went in and setup your workers and all that too right?

I just tested mining with cgminer-cpuonly from my laptop and I was able to connect no problem

Code:
cgminer-cpuonly -o pool.devcoin.org:8999 -u tom.tom1 -p tom1




I hadn't noticed the worker's username as entered had actually had my username prepended. The field I input said username so I wrote it in my notes as username and from there it went into my script as the worker's username.

Whenever you get around to localising the script (like, to say its your pool, currently it claims to be some other pool) you might think about calling that input workername instead of username. Might help people remember in their script to put their own username plus the workername. Smiley

Its claim about my rate of mining seems off but myabe its just doing a running average of the last X number of 15-minute stats runs or something and will catch up to my actual rate in some more 15-minute timespans, if the < 15 I see there means it cheack each 15 mins?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 07:56:47 PM
 #351

btw: im messing with the pool right now trying to get merged working so if it acts funky you know why

still not quite sure which namecoind I should be using

supposedly vinced is the best but it wont do coinbasing, and artforz will...
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 07:59:03 PM
 #352

ok

we have confirmation ! Pool.devcoin.org is now merged mining devcoins and namecoins and we just successfully solved a devcoin block, while connected to both namecoin and devcoin networks in merged mining mode... !

[22:43:57.059] Single source synced to new block.  Total sync time: 135963ms
[22:43:57.063] Wed Dec 28 22:43:57 MSK 2011FOUND BLOCK - Worker: knotwork.Knotworker1 Source: bitcoind-mm Solution: 000300012f9fe7977670b0dbc8d04ea2001d54e4f4cbf16fdb30f235086c8b40000000005ebbdff 586b1e143d81c8216db563089217f287b0615e015bc461c810b23c8424efb718a1c100441ade7fe 6d00000080000000000000000000000000000000000000000000000000000000000000000000000 0000000000080020000


cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
December 28, 2011, 08:08:38 PM
 #353

I think you did it mark, congrats Smiley
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
December 28, 2011, 08:32:26 PM
 #354

we have confirmation ! Pool.devcoin.org is now merged mining devcoins and namecoins and we just successfully solved a devcoin block, while connected to both namecoin and devcoin networks in merged mining mode... !
I take it this is with devcoin as the parent chain? That doesn't require a block chain split. For enabling merge mining as an auxiliary chain the code will need to have a switch on block for when the blockchain forks and all clients will need to update before then. In the source repository markm linked to the switch on block is 45,000. I assume that's pulled directly from my merge mining patch for ixcoin. That'll need to be changed or you'll end up forking the chain. Make sure the chain id is also changed in the GetOurChainID function. Currently 0, 1, 2 and 3 are used that I know of. If you want to merge mine with the other chains it'll need to be different from that.
btc_artist
Full Member
***
Offline Offline

Activity: 154


Bitcoin!


View Profile WWW
December 28, 2011, 09:34:16 PM
 #355

I think we need merged mining with Bitcoin as the parent chain so that people can merge mine BTC/NMC/DVC all together, otherwise people won't switch from NMC to DVC for profitability reasons.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Unthinkingbit
Hero Member
*****
Offline Offline

Activity: 900



View Profile
December 28, 2011, 09:53:48 PM
 #356

..
the code will need to have a switch on block for when the blockchain forks and all clients will need to update before then. In the source repository markm linked to the switch on block is 45,000. I assume that's pulled directly from my merge mining patch for ixcoin. That'll need to be changed or you'll end up forking the chain. Make sure the chain id is also changed in the GetOurChainID function. Currently 0, 1, 2 and 3 are used that I know of. If you want to merge mine with the other chains it'll need to be different from that.

I think we need merged mining with Bitcoin as the parent chain so that people can merge mine BTC/NMC/DVC all together, otherwise people won't switch from NMC to DVC for profitability reasons.

Indeed, the parent chain must be bitcoin, which will require everyone to download an updated devcoin.  Since the current block is around 23,500 to give time to add the remaining code changes (switch block, chain id), testing, and for everyone to download the merged devcoin, I suggest 25,500 be the switch block.

Once a merged devcoin block is mined after the switch block, with bitcoin as the parent chain, the first part of the merged mining bounty will be awarded (120 BTC + 20 million DVC for Doublec).

Note, when I first posted the bounty I assumed that bitcoin would be the parent chain.  However, if mining with devcoin as the parent chain and essentially namecoin as the auxiliary chain brings the devcoin difficulty towards the namecoin difficulty, without breaking either network, then part of the merged mining bounty will be awarded for this intermediate step.

doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
December 28, 2011, 10:05:45 PM
 #357

For testing, this describes the approach I used for creating test networks to try it out when doing the i0coin patch. If you don't already have it you should also include the time travel exploit fix. The latter is also a block forking change so you could activate it at the same block as the merge mining switch if needed.
markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 10:38:13 PM
 #358

For testing, this describes the approach I used for creating test networks to try it out when doing the i0coin patch. If you don't already have it you should also include the time travel exploit fix. The latter is also a block forking change so you could activate it at the same block as the merge mining switch if needed.

We did something a while back that turned on at a certain block. It is possible fixing the timetravel exploit was part of what it was for, I'm not sure.

It sounds though as if the patch I applied must have a switch in it osmewhere too that will turn on merged mining at some specific blockheight?

If so I wonder what block that would be. Probably have to try to figure out where that switch would be I guess...

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
December 28, 2011, 10:39:44 PM
 #359

It sounds though as if the patch I applied must have a switch in it osmewhere too that will turn on merged mining at some specific blockheight?

If so I wonder what block that would be. Probably have to try to figure out where that switch would be I guess...
It's in GetAuxPowStartBlock in main.cpp
markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
December 28, 2011, 10:49:23 PM
 #360

Code:
// Even if we do not accept AUX POW ourselves, we can always be the parent chain.

int GetAuxPowStartBlock()
{
    if (fTestNet)
        return 0; // Always on testnet
    else
        return 45000; // Never on prodnet
}

int GetOurChainID()
{
    return 0x0003;
}

Is the ChainID just sequential, so that we can just bump it to 0x0004, or is it bits indicating something or other?

How soon do we want it to go into effect? block 25000 maybe? or even sooner?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
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 ... 176 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!