Author

Topic: Devcoin - page 158. (Read 412998 times)

full member
Activity: 154
Merit: 102
Bitcoin!
December 28, 2011, 04:34:16 PM
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.
legendary
Activity: 1078
Merit: 1005
December 28, 2011, 03:32:26 PM
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.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 03:08:38 PM
I think you did it mark, congrats Smiley
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 02:59:03 PM
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


hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 02:56:47 PM
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...
legendary
Activity: 2940
Merit: 1090
December 28, 2011, 02:51:43 PM
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-
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 02:39:17 PM
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


legendary
Activity: 2940
Merit: 1090
December 28, 2011, 01:42:46 PM
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-
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 01:40:36 PM
ok I was able to compile it, its downloading block chain now, lets see if it will actually merge mine...
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 01:26:25 PM
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...
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 12:41:32 PM
it doesn't exist, obj is an empty directory

any ideas? I am dying to try this out
legendary
Activity: 2940
Merit: 1090
December 28, 2011, 12:23:27 PM

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-
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 12:13:41 PM

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

?
legendary
Activity: 2940
Merit: 1090
December 28, 2011, 11:05:05 AM
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?

full member
Activity: 154
Merit: 102
Bitcoin!
December 28, 2011, 10:10:10 AM
cablepair, are the email issues worked out yet on the pool?  I still haven't been able to register/confirm my email successfully.  Thanks.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 28, 2011, 09:38:48 AM
and my pool is ready to merge mine dvc/nmc/btc as soon as the daemon is compatible
hero member
Activity: 935
Merit: 1015
December 28, 2011, 03:37:24 AM
Note that it's not a 120 BTC bounty for the developer doing merged mining. There's 40 BTC for the developer, 40 BTC for someone who prepares the release and 40 BTC for a pool - I assume that's the first pool that merge mines with it.

To clarify the merged mining bounty, indeed it is 120 BTC divided by the developers, right now that would be 40 BTC for Doublec, Mark and Cablepair.  Additionally, I'm adding twenty million of my own devcoins to whoever ports the code, so an extra 20 million devcoins for Doublec.


To Doublec:

Since you're developing open source bitcoin related stuff, you qualify for the bitcoin share list:
https://github.com/Unthinkingbit/charity/blob/master/bitcoinshare.html

Everyone on that list gets a devcoin generation share as long as they keep developing.  To get on, just ask and post a devcoin receive address, if you don't have a devcoin address yet you can post a bitcoin address and import your key into devcoin when you want to.


When I posted the bounties for the wiki, exchange and merged mining a few months ago, I didn't know that merged mining would be harder than the rest, so I made the bounties about the same. Since merged mining is harder, if there are no objections, an extra bounty of 12 generation shares divided among the developers when the merged mining rate reaches 10 GH/s will be added.

I know that devcoins aren't worth much now:
https://vircurex.com/

but, when merged mining is working, devcoins will be worth more, and the total bounty would be plenty.
legendary
Activity: 2940
Merit: 1090
December 28, 2011, 02:33:08 AM
I have made at least a start at adding merged mining to the currenct devcoind code, which is now referred to as old-devcoind because I already created a clone of current bitcoin that hopes to become the new devcoin and devcoind.

https://github.com/knotwork/old-devcoind

I just tried to compile it using

make -f makefile.fedora15 bitcoind

and it didn't make, giving the following error:

rpc.cpp: At global scope:
rpc.cpp:1887:28: error: ‘getblock’ was not declared in this scope
make: *** [obj/nogui/rpc.o] Error 1

I altered the makefile.unix and makefile.fedora15 but not any of the other makefiles unless some patch did so.

I will push it now before trying to fix this error so other eyes can get at it as it is unlikely I got it right first time (as this error merely begins to hint at...)

-MarkM-
legendary
Activity: 1078
Merit: 1005
December 28, 2011, 02:07:30 AM
doublec: can you get devcoin merged mining compatible? There is a 120 BTC Bounty for it if you can.
Yes, I offered to do it a while back which is where the "where's the source code repository" came from. Note that it's not a 120 BTC bounty for the developer doing merged mining. There's 40 BTC for the developer, 40 BTC for someone who prepares the release and 40 BTC for a pool - I assume that's the first pool that merge mines with it.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
December 27, 2011, 10:37:52 PM
Hmm namecoin is a far more massive change from bitcoin than devcoin is, I had kind of been avoiding looking at namecoin because of that. It's entire transaction system and format is presumably different from all the other chains, all of which really don't change the actual chain much. Hmm.

Can namecoin basically just pull the bitcoin changes to keep up with fixes made by the bitcoin team or are they far too different for that?

I was glad to get away from wxWidgets, I do not relish the idea of going back there.
All the namecoin changes are isolated in the namecoin hooks class though. This allows building both bitcoin and namecoin from the same source IIRC.

No, namecoin can't pull bitcoin changes - merging would be involved. This is due to the changes made to add the hooks in the first place. Additionally the change to Qt was fairly invasive and causes merge issues.

For alt coins I prefer the process of reviewing and cherry picking patches/commits from bitcoin so you can be sure you are understanding and getting exactly what you want.

doublec: can you get devcoin merged mining compatible? There is a 120 BTC Bounty for it if you can.
Jump to: