Bitcoin Forum
June 03, 2024, 05:16:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: MergeCoin Help- Trying to merge mine, IXC, I0C,DVC, NMC  (Read 2170 times)
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 04:05:37 AM
 #21

yep thanks, that seems fine. By cherry pick is there anything in particular i should be applying?

Bitrated user: ahmedbodi.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
July 20, 2013, 04:07:46 AM
 #22

yep thanks, that seems fine. By cherry pick is there anything in particular i should be applying?
From your coin repository, something like:

1. git remote add foo git://github.com/doublec/bitcoin
2. git fetch foo
3. git cherry-pick 7a6e135db4cdbf70c56546da8a5974152ef84e5a
4. Fix any conflicts

If you're stuck I could probably do it for a 50 BTC  bounty or so.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 20, 2013, 04:07:52 AM
 #23

Okay I am not understanding what you mean then. By use bitcoin as a primary chain, you mean act as a secondary chain?
No, I mean as a primary chain using the merge mining proxy software. That software requires extra RPC commands to be patched to bitcoin. This patch ports those extra RPC commands. But those RPC commands also use a bunch of stuff that the secondary chain RPC commands use - so a lot of the porting work to get the secondary chain additional stuff working is also done in this patch.

Okay but i don't have to patch bitcoin when I want to use it as a secondary chain, so presumably that part is already in bitcoin nowadays.

I guess the big patch I was using tells the patch program to make changes it sees to be already in place so it jsut ignores them, no rejecting needed, just "already applied" and on it goes, or something.

it also contains th parts that ahve not yet been applied to mainline bitcoin, and those are the parts we need to apply to mainline bitcoin to make a 'bitcoin that can act as a secondary chain" to base all our merged coins' new versions on.

-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
Merit: 1005


View Profile
July 20, 2013, 04:09:44 AM
 #24

Okay but i don't have to patch bitcoin when I want to use it as a secondary chain, so presumably that part is already in bitcoin nowadays.
Assuming you meant 'primary' not 'secondary', you do if you want to use the 'merge mine proxy'. You don't if you use pool software that does internally what merge mine proxy does (eg. eloipool).
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 20, 2013, 04:10:27 AM
 #25

basically what im after is modifying the coin im working on to be able to merged mined, likely with something like p2pool with DVC, IXC, I0C, NMC as aux chains
If you cherry pick the commit I referenced to your coin and use the "merge mining proxy" that is included in the 'contrib' directory that is added by that commit then you can have your coin as a primary chain while mining DVC, etc as secondary chains. You won't be able to mine bitcoin though but from your posts I'm assuming you are fine with that.

Hmm I don't understand this either. Simply being a bitcoin clone, like Terracoin and Bytecoin, should mean you already can act as primary chain, shouldn't it? Since bitcoin can, that ability should be part of what was inherited from bitcoin?

-MarkM-

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

Activity: 2940
Merit: 1090



View Profile WWW
July 20, 2013, 04:12:18 AM
 #26

Okay but i don't have to patch bitcoin when I want to use it as a secondary chain, so presumably that part is already in bitcoin nowadays.
Assuming you meant 'primary' not 'secondary', you do if you want to use the 'merge mine proxy'. You don't if you use pool software that does internally what merge mine proxy does (eg. eloipool).

Yeah I meant when I, as a secondary chain, want to use bitcoin as primary.

I use p2pool to merged mine I guess that is why I don't need to patch bitcoin and can instead just use mainline bitcoin unaltered as primary?

-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
Merit: 1005


View Profile
July 20, 2013, 04:12:53 AM
 #27

Hmm I don't understand this either. Simply being a bitcoin clone, like Terracoin and Bytecoin, should mean you already can act as primary chain, shouldn't it? Since bitcoin can, that ability should be part of what was inherited from bitcoin?
Sure, but as I've said more than once already...If you're using the merge mine proxy you need these patches. But the reason I provided the commit is not for the millions of people using the merge mine proxy, it's because it ports a bunch of stuff that the secondary chain code uses and I had thought those interested in that would like using it as a base, or looking at it to see what changes are needed, to porting the other patches.
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 04:49:10 PM
 #28

is there any way to check if a coin has had the merged mining patches applied? also ive tried to fork your repo base the coin i made off that, do you think it'll work?

Bitrated user: ahmedbodi.
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 07:11:51 PM
 #29

anyone have any ideas on how to fix this? http://pastebin.com/3wDUnfby

Bitrated user: ahmedbodi.
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 09:57:38 PM
 #30

bump!

Bitrated user: ahmedbodi.
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 10:51:48 PM
 #31

to the top

Bitrated user: ahmedbodi.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 20, 2013, 11:21:41 PM
 #32

Presumably by putting a definition or template or whatever into the correct place for the context, as it seems to be saying you are trying to use a routine you had not yet told it about or that you told it about outside the context maybe since maybe part of the purpose of contexts is to let it forget about stuff outside the context even if you had, outside the context, told it about them?

I don't actually know C++ beyond what can be deduced by looking at the code and what the compiler says in response to it (and of course what actually happens if it does compile and you run it), do you? If not maybe studying up on C++ contexts might provide clues.

-MarkM-

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

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
July 20, 2013, 11:25:27 PM
 #33

hmm ill have a look, c++ is confusing im a vb.net programmer normally

Bitrated user: ahmedbodi.
Pages: « 1 [2]  All
  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!