Bitcoin Forum
May 05, 2024, 10:15:36 PM *
News: Latest Bitcoin Core release: 27.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 ... 176 »
  Print  
Author Topic: Devcoin  (Read 412873 times)
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
December 28, 2011, 11:03:24 PM
 #361

Is the ChainID just sequential, so that we can just bump it to 0x0004, or is it bits indicating something or other?
It is a number, not a bitfield. Incrementing should be fine. See the information in the merged mining specification for details of how it is used:
Quote
New implementers: please pick your chain_id so that not clashing with existing chains requires as small a value of merkle_size as possible, or use a better algorithm to calculate the slot id for your chain.
1714947336
Hero Member
*
Offline Offline

Posts: 1714947336

View Profile Personal Message (Offline)

Ignore
1714947336
Reply with quote  #2

1714947336
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Unthinkingbit (OP)
Hero Member
*****
Offline Offline

Activity: 935
Merit: 1015



View Profile
December 28, 2011, 11:07:27 PM
 #362

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 have a time travel exploit fix, from:
http://devtome.org/wiki/index.php?title=Devcoin#Difficulty

"The time difference is determined by sorting the blocks by time stamp, then subtracting the time stamp of the sixth block from the bottom from the time stamp of the sixth block from the top. This is to prevent the time travel exploit."

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

I suggest block 25,500 about two weeks from now because it'll take time to test it following Doublec's merged mining test procedure.  Also, we'll need time for everyone to update their devcoin copy and stuff happens.

cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 28, 2011, 11:14:19 PM
 #363

Yes you are right as of right now just to test it out I used Devcoin as parent chain and namecoin as aux chain, I can tell you though based on my experiences with merged mining I am quite sure the patches are working based on the fact that I am not getting any errors merging the two in my poolserverJ setup...

When I get a little time later I will experiment with Bitcoin as the parent chain and devcoin and namecoin as aux chains and see what happens

doublec, do you have a particular namecoind that you recommend? I know I heard you say vinced before but vinced wont coinbase, not the vinced off github anyways. If you have a particular namecoind that will merge and coinbase please let me know
thanks
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
December 28, 2011, 11:43:19 PM
 #364

Yes you are right as of right now just to test it out I used Devcoin as parent chain and namecoin as aux chain, I can tell you though based on my experiences with merged mining I am quite sure the patches are working based on the fact that I am not getting any errors merging the two in my poolserverJ setup...

When I get a little time later I will experiment with Bitcoin as the parent chain and devcoin and namecoin as aux chains and see what happens

doublec, do you have a particular namecoind that you recommend? I know I heard you say vinced before but vinced wont coinbase, not the vinced off github anyways. If you have a particular namecoind that will merge and coinbase please let me know
thanks
Bitcoin as the parent with devcoin as an aux chain will need the block value changed in GetAuxPowStartBlock. You can make it INT_MAX for testing purposes which will allow merge mining. You should do that on a closed network only otherwise the blocks will be orphaned.

For namecoin I use the current master branch. You are correct that it doesn't support coinbasing, no version of namecoin supports that - except for custom builds that I'm not aware of being publicly available. Why do you need coinbase?
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 29, 2011, 12:24:27 AM
 #365

Actually ArtForz works with coinbasing so far...


Code:
[01:21:20.063] New Block detected [35357] from source: DaemonSource[bitcoind-mm].namecoin - 0 lagging sources.
[01:21:20.064] New Block detected [23533] from source: DaemonSource[bitcoind-mm].devcoin - 0 lagging sources.
[01:21:20.067] New Block detected [159607] from source: DaemonSource[bitcoind-mm].bitcoin - 0 lagging sources.
[01:21:20.067] Restoring workmap from file: /home/tom/poolserverj/tmp/workmap-8999.bin
[01:21:20.158] Work fetcher thread waiting for WorkMaker to signal ready.
[01:21:20.158] WorkMaker ready, launching work fetcher thread.
[01:21:20.159] PoolServerJ is open for business


Wink

If I can actually mine blocks that remains to be seen, but this is progress Smiley
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 29, 2011, 12:54:42 AM
 #366

ive got a pool up right now, BTC as Parent with Devcoin and Namecoin as Aux chains
its working well with no errors and im mining on it as we speak
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 29, 2011, 01:12:52 AM
 #367

will I not be able to mine any devcoin blocks merged until we hit block 25000?

because its mining right along with no errors but no devcoin blocks are being solved, and I have about 1500 mhash pointed at the merged mining pool with BTC as Parent, DVC, NMC as AUX
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 29, 2011, 03:17:19 AM
 #368

will I not be able to mine any devcoin blocks merged until we hit block 25000?

because its mining right along with no errors but no devcoin blocks are being solved, and I have about 1500 mhash pointed at the merged mining pool with BTC as Parent, DVC, NMC as AUX

Right now that magic number is set to 45000, the nubmer that was used for Ixcoin's merged mining inauguration presumably.

I will change it to 25500 in accordance with Unthinkingbit's judgement-call, and make a devcoind-mm.tgz source bundle to put on SourceForge for those who download from there.

I think I will also apply the patches to GRouPcoind and set its magic block number closer to the present day so we can start testing it there too. Afterall its original purpuse was as a testbed for DeVCoin.

Britcoin, Canadian Digital Notes, bitNicKeLs etc are of course also now clamouring for the patch so they can do clean new restarts of their chains instead of (well, actually as well as) moving their accounting over to the Open Transactions server.

-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: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 29, 2011, 03:24:55 AM
 #369

groovy brother

so all I need to do is upgrade the pools devcoin daemon to this new one and and then at block 25500 merged mining blocks will start happening?

My pool is all ready and working 100% with Bitcoin as the parent chain and namecoin and devcoin as aux chains, ive been mining on it all night with my 8 ghash with no problems and have actually solved a name coin block (damn I feel lucky) Smiley


Unthinkingbit I dont know what proof you need from me but let me know so I can provide it - I could sure use that bounty right about now! Smiley


on a side note if any of you brothers involved in this devcoin project would like a @devcoin.org email address just let me know and I will hand them out for free

take care have a good night and ttyl!



doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
December 29, 2011, 04:58:56 AM
 #370

so all I need to do is upgrade the pools devcoin daemon to this new one and and then at block 25500 merged mining blocks will start happening?

Before the switch on block you can merge mine with devcoin as the parent chain and namecoin and/or i0coin as the auxiliary chains. The devcoin blocks solved here are valid for all clients. After block 25,000 (or whatever the decided switch on is) you can merge mine with bitcoin as the parent and devcoin as an auxiliary. Clients need to upgrade to accept the blocks produced in this configuration.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
December 29, 2011, 05:27:28 AM
 #371

I have set up a permanent devcoin node running on bitparking.com (206.71.179.116) on the default port.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 29, 2011, 05:53:57 AM
 #372

On further consultation with Unthinkingbit, we have decided to use block 25000 as the magic number for merged mining commencement.

Our chain ID is 0x004.

These changes have been pushed to https://github.com/knotwork/old-devcoind

-MarkM-

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

Activity: 2086
Merit: 1031


View Profile WWW
December 29, 2011, 06:08:54 AM
 #373

So will pool.devcoin.org merge mine BTC/NMC/I0C/IXC/DVC?  If so, I think that'll attract a lot of traffic for those interested in merged mining.

IXC should be ready to merge mine within the week.

Then hopefully, by the end of January, most pools can start merge mining all of these coins to help them all be safer with more hashing power.

Coinbase for selling BTCs
Fold for spending BTCs
PM me with any questions on these sites/apps!  http://www.montybitcoin.com


or Vircurex for trading alt cryptocurrencies like DOGEs
CoinNinja for exploring the blockchain.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 29, 2011, 06:23:57 AM
 #374

Hopefully we can continue to push the envelope to discover how many chains a pool can manage to merged-mine all at once.

Adding it to GRouPcoin will be easy, then Britcoin, Canadian Digital Notes, Martian Botcoin etc can follow...

-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
December 29, 2011, 07:38:40 AM
 #375

The merged mining patches broke devcoin-qt, seems to be the "not thread-safe" problem again, as it segfaults and coredumps with this message:

devcoin-qt: /usr/include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp:49: boost::interprocess::interprocess_recursive_mutex::~interprocess_recursive_mutex(): Assertion `res == 0' failed.

This is presumably without even trying to mine, as neither on the commandline nor in any config file did I tell it to mine.

EDIT: I have put it on github at https://github.com/knotwork/old-devcoin-qt

-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
December 29, 2011, 07:56:08 AM
 #376

So will pool.devcoin.org merge mine BTC/NMC/I0C/IXC/DVC?  If so, I think that'll attract a lot of traffic for those interested in merged mining.
I'll probably add it to mmpool to see how it goes. That'll give it 30-40 Ghash/s.
Unthinkingbit (OP)
Hero Member
*****
Offline Offline

Activity: 935
Merit: 1015



View Profile
December 29, 2011, 08:06:18 AM
 #377

The merged mining patches broke devcoin-qt, seems to be the "not thread-safe" problem again, as it segfaults and coredumps with this message:

devcoin-qt: /usr/include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp:49: boost::interprocess::interprocess_recursive_mutex::~interprocess_recursive_mutex(): Assertion `res == 0' failed.

This is presumably without even trying to mine, as neither on the commandline nor in any config file did I tell it to mine.

I searched for the error and found this:
https://svn.boost.org/trac/boost/ticket/3951

It seems that the problem occurred when -O2 or -O3 gcc optimizations were used:
"I now also observed that the code works with templates if I compile it with -O1. If -O2 or -O3 is used, the assertion occurs. "

along with boost 1.40, 1.41 or 1.42.  It did not occur in boost 1.36, and was fixed in boost 1.45.

markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 29, 2011, 08:08:55 AM
 #378

My boost libs all seem to be indicating they are boost 1.46.0

-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
December 29, 2011, 08:17:14 AM
 #379

My pool is all ready and working 100% with Bitcoin as the parent chain and namecoin and devcoin as aux chains, ive been mining on it all night with my 8 ghash with no problems and have actually solved a name coin block (damn I feel lucky) Smiley
I missed this, sorry. This means you're not actually mining devcoins at the moment. Your blocks will be created but then orphaned by the network as all the other nodes should reject them. You'll basically be mining your own fork of devcoin. What is the current hashrate of the entire devcoin network? Someone should ask allchains to support it, or provide an equivalent if possible.
Unthinkingbit (OP)
Hero Member
*****
Offline Offline

Activity: 935
Merit: 1015



View Profile
December 29, 2011, 09:13:23 AM
 #380

My boost libs all seem to be indicating they are boost 1.46.0

What client GUI do i0coin and namecoin use?

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 ... 176 »
  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!