Bitcoin Forum
December 03, 2016, 03:52:38 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: New release of MultiCoin client a branch of the BitCoin client  (Read 30263 times)
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
July 24, 2011, 11:44:42 AM
 #21

OK I have deleted all my previous text because it was just a mess of me trying to get it to work.

I have 1 connection and I have a weeds address:


mtSJ6gyJyhnqRokpEsp9GLafSMvuhkrAqN

If I try and connect to it with a miner such as diablo I get ThreadRPCServer incorrect password attempt

I have tried changing the password and changing the bitcoin.conf file
trying both un and pw and yourusername and yourpassword

*edit: I just had un and pw round the wrong way lol

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
1480780358
Hero Member
*
Offline Offline

Posts: 1480780358

View Profile Personal Message (Offline)

Ignore
1480780358
Reply with quote  #2

1480780358
Report to moderator
1480780358
Hero Member
*
Offline Offline

Posts: 1480780358

View Profile Personal Message (Offline)

Ignore
1480780358
Reply with quote  #2

1480780358
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480780358
Hero Member
*
Offline Offline

Posts: 1480780358

View Profile Personal Message (Offline)

Ignore
1480780358
Reply with quote  #2

1480780358
Report to moderator
sacarlson
Jr. Member
*
Offline Offline

Activity: 38



View Profile WWW
July 24, 2011, 11:51:23 AM
 #22

Status of MultiCoin-exp branch and merge mining
This article Last Updated 7/6/11
I finally made some progress on merge mining in the MultiCoin-exp branch.  With  the setup of a cpuminer branch from forrestv found at: https://github.com/forrestv/cpuminer  comitish: f7617f3f7c0eb348e1bf2af21ed5d965f05df24d
This miner was chosen as being the only known miner with algorithms that works best at difficulties less than one as we plan to use this with mergemineTEST net as parent chain that is presently at "difficulty" : 0.12500000.  At that same time the weedsnet was at  "difficulty" : 0.06249911,

and my present build of MultiCoin-exp used to run both the parent and child chains at comitish:
4e13e3527eca861964bb
I had two multicoin-exp bitcoind running with the bitcoin.config.weeds with  port settings of 38333 and rpcport of 38332 and bitcoin.config.mergmine that has port settings of 58333 and rpcport of 58332
these example configs have been released and can be seen at these url bellow:
http://exchange.beertokens.info/docs/multicoin/bitcoin.conf.mergmineTEST
http://exchange.beertokens.info/docs/multicoin/bitcoin.conf.weeds

to start we playing with weedsnet as the child chain and a newly created mergemineTEST chain used as a parent for the weedsnet chain.

setup merged-mine-proxy to run with corrected username:password here:
./merged-mine-proxy --parent-url http://yourusername:yourpassword@127.0.0.1:58332/ --aux-url http://yourusername:yourpassword@127.0.0.1:38332/ -w 9992

setup cpuminer
./minerd --url http://127.0.0.1:9992/ --userpass yourusername:yourpassword -t 1

I was getting these results from the miner
[2011-07-24 17:44:35] JSON-RPC call failed: {

   "message": "Unknown error: -32601 Method not found ''",

   "data": "",

   "code": -32099

}


due to the fact that the documented method shown in merged-mine-proxy shows:
 help='connect to the parent RPC at this address (default: http://pw:un@127.0.0.1:8332/)'  with reversed pw : un  that should be un : pw.   So this took some instrumented lines for me to figure out but finally got results when corrected.

we now have a working proto type merge mine setup using mergemineTEST net as the parent chain for weedsnet.   This has been done with the new released changes from namecoin mergedmine branch  release of commit 6849ac73f3577c1b445787993d134a596c89c09b that has again been merged with MultiCoin-exp.  The changes for MultiCoin-exp have now been released at: https://github.com/sacarlson/MultiCoin-exp as commit 4e13e3527eca861964bb.  I noted that I couldn't use weedsnet as the parent for MergemineTEST net due to the fact that the difficulties for weeds were smaller than that of MergemineTEST net.  This was noted by the error seen from the console of mergeminTEST of:
ERROR: AUX POW parent hash 0000000964b614867559487da64722a0e4876de8fbc45e3b15bd7e07b2f03625 is not under target 00000007fff80000000000000000000000000000000000000000000000000000
When I reversed the nets parent for child everything worked fine. as seen from miner-proxy:
2011-07-26T13:11:47.651525,solve,0,1
2011-07-26T13:16:25.894304,solve,1,1
and noteing results in block counts of both networks on the rise.  So later I will right some more detailed procedures to make clear what needed to be done.

Update: I've also merged the new changes from namecoin that now allow multi chained networks
2011-08-03T03:35:59.129965,solve,1,0,1
in this example I now have one parent and two aux chains by just running more multicoind configs and adding more --aux-url chains on the merge-miner-proxy line with space delimiter
./merged-mine-proxy --parent-url http://yourusername:yourpassword@127.0.0.1:38332/ --aux-url http://yourusername:yourpassword@127.0.0.1:10332/ http://yourusername:yourpassword@127.0.0.1:58332/ -w 9992

I've also created another merge mined chain config for BeerTokens in preliminary review published at: http://exchange.beertokens.info/docs/multicoin/bitcoin.conf.beerA . it's set to pay .0001 for each mined block at a difficulty at block 1000 set to be 23509.0 designed to be mining by namecoin miners as the parent. AuxPowStartBlock point is set to start  at block 1000 for  AuxPowStartBlock that could be from 1 to 4 days depending on mining activity.  I guess we are ready to go just need miners to partisipate.

first problem detected not in MultiCoin-exp but in the infrastructure of our block explorer bitcoin-abe I'm getting this error from a fresh start of abe.py ,  when I run the weeds network in the merge mining mode.  I had planed to upgrade the weeds network as soon as possible to merge mining when we have a solution for this.   I now get this error OverflowError: long int too large to convert to int  detailed trace see: http://paste.ubuntu.com/652878/,  Update 7/6/11 This problem now fixed in the new release of bitcoin-abe we now have support for merge mining in a block explorer thanks again to John Tobey.

Update Aug 4, 2011 8:30pm BKK.  I found we have a big bug in the new Diff_post_triger and Diff_triger_block config settings in MultiCoin-exp that cause orphaned blocks after block 12 when starting a new system from an empty datadir.  So this feature will have to eather be fixed or not used.  This feature has only been used on the one config file http://exchange.beertokens.info/docs/multicoin/bitcoin.conf.beerA so the beerA chain is down until this is fixed. I'll take a closer look at it tomaro.  This is what happens when you try to do too much tooo fast.

Update Aug 5, 2011 4:59pm BKK.  bug above wasn't as bad as I had thought.  it was just that I had changed the block position after it past the point, so from fresh start it would fail with orphaned blocks.  I put the setting of Diff_triger_block=11 back and every thing worked fine.  so I also added another set of values Diff_triger_blockB=1510 Diff_post_trigerB=453237473  and moved the AuxPowStartBlock=1500 to now enable merge mining at block 1500 instead of 1000 to give more time for testing.  We are now back on track all systems go.

Update Aug 14, 2011 6:34pm BKK.   I seem to have a problem with slow mining using merge mining as it's taken 7 hours to get this 2011-08-14T10:09:41.168619,solve,0,0,1,1,1
 I've got many of these 2011-08-14T09:53:57.364787,solve,0,0,0,1,1
 the "difficulty" : 0.06198025,  one the 2nd aux in this case mm2TEST should not have taken 7 hours
 this is with 270kh/sec miner
 I see no errors but it just seems very slow to mine
 ;;bc,calcd 270 0.061  shows it I should get gribble: The average time to generate a block at 270 Khps, given the supplied difficulty of 0.061, is 16 minutes and 10 seconds

I used this in the proxy line:
 /home/sacarlson/Downloads/mmproxy --parent-url http://yourusername:yourpassword@127.0.0.1:48332/ --aux-url http://yourusername:yourpassword@127.0.0.1:10332/ http://yourusername:yourpassword@127.0.0.1:12332/ http://yourusername:yourpassword@127.0.0.1:14332/ http://yourusername:yourpassword@127.0.0.1:13332/ --merkle-size 4 -w 9992

This is using MultiCoin-exp that uses vinced merged mining code for merge mining with chain configs, bitcoin.conf.namecoin diff 94035.90217415 as parent, aux1 beerA difficulty 50.0, aux2 mm2TEST diff 0.06198025, aux3 mm4TEST diff 0.01475864, aux4 mm3TEST diff 0.00441692,

anyone else getting slow results with merge mining test or did i configure something wrong or maybe my code problems?  I'll try some simpler experiments with just a parent and 1 aux to take a closer look at results.  I'm using my latest Multicoin-exp release in github commit  06602e7e09875d0e8a46  the multicoin config files are published at: http://exchange.beertokens.info/docs/multicoin/

Update 8/15/11 10:58am BKK:
 I ran another merge mine experiment of just parent and one aux with new difficulties parent of .062  and aux chain diff .010
 experment ran with 280kh/sec run from 15:07 block2 to 3:25 block 52  = about 14.4minits per block  on both parent and aux chain
 so the good news is I get about what I would expect on the parent chain  ;;bc,calcd 280 0.062
gribble: The average time to generate a block at 280 Khps, given the supplied difficulty of 0.062, is 15 minutes and 51 seconds
The bad news is I don't get as much as I would expect from the aux chain.  I just don't have a full understanding why.
;;bc,calcd 280 0.010
gribble: The average time to generate a block at 280 Khps, given the supplied difficulty of 0.010, is 2 minutes and 33 seconds
sample as seen from proxy:
2011-08-14T15:07:12.921571,solve,1,1
2011-08-14T15:08:53.573864,solve,1,1
2011-08-14T15:32:25.379898,solve,1,1
2011-08-14T15:44:39.154894,solve,1,1
2011-08-14T15:52:37.380143,solve,1,1
2011-08-14T16:08:12.520307,solve,1,1
2011-08-14T16:14:12.460611,solve,1,1
2011-08-14T16:38:22.869591,solve,1,1
2011-08-14T16:42:50.560368,solve,1,1
2011-08-14T16:52:16.580440,solve,1,1
2011-08-14T17:04:32.321299,solve,1,1
2011-08-14T17:06:32.312406,solve,1,1
2011-08-14T17:11:56.703054,solve,1,1
2011-08-14T17:15:28.470930,solve,1,1
2011-08-14T17:31:32.309536,solve,1,1
2011-08-14T17:43:20.232165,solve,1,1
2011-08-14T17:49:24.424827,solve,1,1
2011-08-14T18:04:56.335914,solve,1,1

for more info on MultiCoin check out #multicoin chat on freenode , for more info on BeerTokens see the [url=http://forum.bitcoin.org/index.php?topic=9
jtimon
Legendary
*
Offline Offline

Activity: 1246


View Profile WWW
July 24, 2011, 10:51:36 PM
 #23

The MultiCoin client is a  slightly modified and very experimental Bitcoin client that allows transactions with an unlimited number of crypto currencies block chains and also the creation of new crypto chains.   Each different crypto currency can have a different set of rules and a different root block that is controlled by settings in the MultiCoin config file.

Is there rules for demurrage?
With each transaction, a percentage of each input is destroyed multiplied for the difference between this block number and the block number of the previous transaction for the input.


2 different forms of free-money: Freicoin (free of basic interest because it's perishable), Mutual credit (no interest because it's abundant)
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
July 26, 2011, 01:39:17 PM
 #24

What do you get if you complete a block on the weeds network?

Although it looks like all my (or at least my first few so far) blocks are being rejected. This is because I am using diablo and two 6870's am I right?

So what happens if user B has Subsidy=500 and user A has Subsidy=5000

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
July 28, 2011, 03:29:57 PM
 #25

Will there be a multicoin explorer?

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
July 29, 2011, 03:16:07 PM
 #26

Will there be a multicoin explorer?

It shouldn't be too hard to make Abe parse MultiCoin configurations.  Weeds explorer: http://abe.john-edwin-tobey.org/

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
July 29, 2011, 03:23:52 PM
 #27

Cool  I want to make one called unstable coin where the amount of coins per block and the difficulty swings wildly. I think it could be a lot of fun and excitement. It is to be the opposite idea of stable coin and the value swing from high to low and back again that it will make peoples head spin.

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
jtimon
Legendary
*
Offline Offline

Activity: 1246


View Profile WWW
August 06, 2011, 04:00:38 PM
 #28

Add scriptPubKey enforced sendescrow and redeemescrow API calls
https://github.com/bitcoin/bitcoin/pull/319

Sounds very good, but I don't know if I got it right.
Can this be used for option trading?
Is p2p because no third party has to store the coins, but...
Do you need a third party that provides and signs the external exchange spot prices (for option trading)?
Some people want to implement that function also with a block chain, but I'm not sure that is feasible. If so, would be very useful.

Have you considered the idea of a distributed exchange between different coins?
For example, beertokens for bitcoins. I think is feasible, you need transactions that appear in the chain but are not committed until certain transaction appears in another chain. I call it exchange chain. The coins that allow transactions with conditions about exchange chain, can be traded for any other coin. The coins that are not adapted can only be traded for those that are.

Thank you for your work, I believe multicoin is going to be very useful for many people.

2 different forms of free-money: Freicoin (free of basic interest because it's perishable), Mutual credit (no interest because it's abundant)
dacoinminster
Legendary
*
Offline Offline

Activity: 1106


Rational Exuberance


View Profile WWW
August 09, 2011, 05:48:05 PM
 #29

Can anyone besides the author confirm they were able to run both bitcoin and namecoin protocols and do transactions with both using this client?

twobits
Sr. Member
****
Offline Offline

Activity: 336

Firstbits: 1a6taw


View Profile
August 10, 2011, 02:53:37 PM
 #30

Can anyone besides the author confirm they were able to run both bitcoin and namecoin protocols and do transactions with both using this client?

All right, this seems worth trying out.  This could be a very important project I think.

I just built the multicoin and multicoin-qt programs.   No real issues to get it all to build.   The multicoind does not run without
some config files in place,  muticoin-qt does run, and seems to default to the bitcoin blockchain, as it seems to be downloading that now and gave me the 1AFHAdPE1GWeL6NDp1nKhCa3pFGywJVTg1 address....  more  once that is done downloading.


Edit:   been stalled at block 112,000 for awhile now...
Edit2:  It was stuck for over an hour,  at 112k block, exited and reran it, and it resumed downloading the blocks.

dacoinminster
Legendary
*
Offline Offline

Activity: 1106


Rational Exuberance


View Profile WWW
August 10, 2011, 05:14:20 PM
 #31

All right, this seems worth trying out.  This could be a very important project I think.

I just built the multicoin and multicoin-qt programs.   No real issues to get it all to build.   The multicoind does not run without
some config files in place,  muticoin-qt does run, and seems to default to the bitcoin blockchain, as it seems to be downloading that now and gave me the 1AFHAdPE1GWeL6NDp1nKhCa3pFGywJVTg1 address....  more  once that is done downloading.

Edit:   been stalled at block 112,000 for awhile now...

It is an absurdly important project. Once it gets easy to make new block-chains and run them simultaneously, all kinds of crazy experiments are going to happen.

DannyM
Sr. Member
****
Offline Offline

Activity: 275



View Profile
August 10, 2011, 05:20:32 PM
 #32

The multicoind does not run without some config files in place,  muticoin-qt does run, and seems to default to the bitcoin blockchain, as it seems to be downloading that now and gave me the 1AFHAdPE1GWeL6NDp1nKhCa3pFGywJVTg1 address....  more  once that is done downloading.

Edit:   been stalled at block 112,000 for awhile now...

The multicoin client will use whatever network/blockchain the config file specifies.

The default config file is $DATADIR/bitcoin.conf.
The default datdir is ~/.bitcoin/bitcoin.conf, the same as the satoshi client.

To use it with namecoins, rename bitcoin.conf.namecoin to bitcoin.conf and put it in your datadir.
If you made a /home/mot/.bitcoin/namecoin directory, and started multicoind like this:

Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin

It will use the /home/mot/.bitcoin/namecoin/bitcoin.conf file.

Or specify the config filename with -conf=

Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin -conf=/home/mot/.bitcoin/namecoin/bitcoin.conf.namecoin

Call rpc commands like so:


Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin/ getinfo

multicoind -datadir=/home/mot/.bitcoin/weeds/ getinfo


All of this is the default behavior of the satoshi client.


dacoinminster
Legendary
*
Offline Offline

Activity: 1106


Rational Exuberance


View Profile WWW
August 10, 2011, 05:24:12 PM
 #33

The multicoin client will use whatever network/blockchain the config file specifies.

The default config file is $DATADIR/bitcoin.conf.
The default datdir is ~/.bitcoin/bitcoin.conf, the same as the satoshi client.

To use it with namecoins, rename bitcoin.conf.namecoin to bitcoin.conf and put it in your datadir.
If you made a /home/mot/.bitcoin/namecoin directory, and started multicoind like this:

Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin

It will use the /home/mot/.bitcoin/namecoin/bitcoin.conf file.

Or specify the config filename with -conf=

Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin -conf=/home/mot/.bitcoin/namecoin/bitcoin.conf.namecoin

Call rpc commands like so:


Code:
multicoind -datadir=/home/mot/.bitcoin/namecoin/ getinfo

multicoind -datadir=/home/mot/.bitcoin/weeds/ getinfo


All of this is the default behavior of the satoshi client.

So only one block-chain at a time? I was hoping it would have multiple tabs - one for each block chain . . .

DannyM
Sr. Member
****
Offline Offline

Activity: 275



View Profile
August 10, 2011, 05:30:54 PM
 #34

So only one block-chain at a time? I was hoping it would have multiple tabs - one for each block chain . . .

I'm running 5 different block-chains at the same time on the same machine.

Yes, a separate multicoin instance for each, and at first I wanted a feature like you describe.

But there really isn't a need for multiple tabs, just use "screen".

jtimon
Legendary
*
Offline Offline

Activity: 1246


View Profile WWW
August 10, 2011, 06:33:00 PM
 #35

After reading the conf file for namecoin, I don't know where the DNS stuff is.
Where the rules that define the most important qualities of namecoin are?
Where are the modifications made by namecoin in multicoin's code?

2 different forms of free-money: Freicoin (free of basic interest because it's perishable), Mutual credit (no interest because it's abundant)
enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
August 11, 2011, 12:23:18 AM
 #36

I can't seem to get the thing to compile (Windows 7, MinGW)...

Any chance there's a precompiled windows binary out there or, alternately, that someone can tell me how to fix this:

Code:
In file included from main.cpp:4:0:
headers.h:59:29: fatal error: boost/foreach.hpp: No such file or directory
compilation terminated.

markm
Legendary
*
Offline Offline

Activity: 1778



View Profile WWW
August 11, 2011, 12:31:34 AM
 #37

I can't seem to get the thing to compile (Windows 7, MinGW)...

Any chance there's a precompiled windows binary out there or, alternately, that someone can tell me how to fix this:

Code:
In file included from main.cpp:4:0:
headers.h:59:29: fatal error: boost/foreach.hpp: No such file or directory
compilation terminated.

.h and cpp are the normal extentions for filenames, so looks like a typo by someone who meant one or the other.

I'd guess the .h were it not that bitcoin coders don't seem to separate .h and .cpp in their thinking like normal programmers were once upon a time wont to do.

-MarkM-

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

Activity: 275



View Profile
August 11, 2011, 12:57:30 AM
 #38

I can't seem to get the thing to compile (Windows 7, MinGW)...

Any chance there's a precompiled windows binary out there or, alternately, that someone can tell me how to fix this:

Code:
In file included from main.cpp:4:0:
headers.h:59:29: fatal error: boost/foreach.hpp: No such file or directory
compilation terminated.

Does the satoshi/bitcoin.org client build for you, or do you get the same error?
I'm just checking that you have boost installed -> http://www.boost.org/users/download/
markm
Legendary
*
Offline Offline

Activity: 1778



View Profile WWW
August 11, 2011, 01:51:14 AM
 #39

Yeah boost not there sounds likely. I just searched for .hpp thinking it'd be a typo in a windows makefile or something, only to learn boost actually uses that filename-extension all over the place.

So make sure you have boost.

-MarkM-

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

Activity: 742



View Profile WWW
August 11, 2011, 03:56:31 AM
 #40

I have boost in my MinGW libs folder, but there aren't any hpp files at all. Did it not install correctly or something?

And no, now that I test the vanilla client won't compile for me either Sad

Pages: « 1 [2] 3 »  All
  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!