ahmed_bodi (OP)
|
|
July 20, 2013, 04:05:37 AM |
|
yep thanks, that seems fine. By cherry pick is there anything in particular i should be applying?
|
Bitrated user: ahmedbodi.
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
July 20, 2013, 04:07:46 AM |
|
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
Activity: 2940
Merit: 1090
|
|
July 20, 2013, 04:07:52 AM |
|
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-
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
July 20, 2013, 04:09:44 AM |
|
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
Activity: 2940
Merit: 1090
|
|
July 20, 2013, 04:10:27 AM |
|
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-
|
|
|
|
markm
Legendary
Offline
Activity: 2940
Merit: 1090
|
|
July 20, 2013, 04:12:18 AM |
|
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-
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
July 20, 2013, 04:12:53 AM |
|
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)
|
|
July 20, 2013, 04:49:10 PM |
|
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)
|
|
July 20, 2013, 09:57:38 PM |
|
bump!
|
Bitrated user: ahmedbodi.
|
|
|
ahmed_bodi (OP)
|
|
July 20, 2013, 10:51:48 PM |
|
to the top
|
Bitrated user: ahmedbodi.
|
|
|
markm
Legendary
Offline
Activity: 2940
Merit: 1090
|
|
July 20, 2013, 11:21:41 PM |
|
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-
|
|
|
|
ahmed_bodi (OP)
|
|
July 20, 2013, 11:25:27 PM |
|
hmm ill have a look, c++ is confusing im a vb.net programmer normally
|
Bitrated user: ahmedbodi.
|
|
|
|