rpcuser=bitcoinrpc rpcpassword=123456abcdef(you'll need those values again in a minute) and then run with
~/bitcoininstallationdibitcoind -regtest -daemon -conf=homedibitcoin.conf(I didn't need to add server=1 to config).
~/bitcoininstallationdibitcoin-cli -regtest -rpcuser=bitcoinrpc -rpcpassword=123456abcdef generate 101Now your regtest bitcoind is running, you can move on to Tumblebit. Follow the instructions in the wiki page mentioned at the start; install .Net Core - the Microsoft instructions are easy to follow, just a couple of apt-gets and install the *.deb. Next, clone the github repo and run the Unit Tests. They passed first time for me.
cd NTumbleBit.TumblerServer dotnet run -regtestThe first start up will compile but also set up RSA keys, all that is fine without changes, but you'll need to edit the config so that the RPC is pointing at your regtest instance properly. In this case it (the new config should be located in ~/.ntumblebit/RegTest/server.config) should be edited to look like:
rpc.url=http://localhost:18332/ rpc.user=bitcoinrpc rpc.password=123456abcdef #rpc.cookiefile=yourbitcoinfolde.cookieThen restart and check you get no RPC errors. Leave that console open, it's running a server loop.
cd NTumbleBit.CLI dotnet run -regtestYou'll most likely get an RPC error again, before it shuts down. Now we need to edit the ~/.ntumblebit/RegTest/client.config file. The server can be left as the default localhost:5000, but you need the right RPC settings:
rpc.url=http://localhost:18332/ rpc.user=bitcoinrpc rpc.password=123456abcdef #rpc.cookiefile=yourbitcoinfolde.cookie tumbler.server=http://localhost:5000 outputwallet.extpubkey= outputwallet.keypath=0the last two fields are the important bit, which the wiki page explains in some detail for the testnet case.
for i in range(max_mix_depth): print('master for index: ' + str( i) + ' : ' + btc.bip32_privtopub(mixing_depth_keys[i]))immediately above this line. Then run again python wallet-tool.py randomseed.
master for index: 3 : tpubDBFGvUbWtEPKXeWPeG7rUh98iV9GuXSDbnk6ZrZHjcmp134BPByT293HPPQ93DktrVFKpZeAU1ULSdyfmwWuUGvUVLP19JkdUq2mzNKFJPRand put that tpub.. key into the field pubkey in the above mentioned 'client.config':
outputwallet.extpubkey=tpubDBFGvUbWtEPKXeWPeG7rUh98iV9GuXSDbnk6ZrZHjcmp134BPByT293HPPQ93DktrVFKpZeAU1ULSdyfmwWuUGvUVLP19JkdUq2mzNKFJPR outputwallet.keypath=0Now save and quit.
/path/to/bitcoin/bin/bitcoin-cli -regtest -rpcpassword=123456abcdef generate 1As each block is generated you'll see the state in the client terminal window updating, showing the phases. A new 'epoch' (right term?) is started every N blocks (I haven't investigated the timing yet), and several epochs run concurrently. In each one, the client can pay in 1 Bitcoin (from Core) and eventually get out 1 coin - fees to the destination (Joinmarket in my case, any other BIP32 in yours). You can replace generate 1 with generate N but I'm not sure if the code will always correctly handle you mining lots of blocks at once! After a large enough number of blocks you'll start to see 'ClientCashout phase' occurring, and txids being printed out. You can go back to your (JM or other) wallet and see the coins arriving; here's what I see after a few epochs have gone through (using my python wallet-tool.py randomseed command):
for mixdepth=2 balance=0.00000000btc mixing depth 3 m/0/3/ external addresses m/0/3/0 tpubDDMAxSHJmxzeXwDnATuvtDizqNSsQKpXGufBDnER44BzEbHy7kg485zZwHqvzprgf6yEQYg9qYYfsLYS1HMmdSuXDzQb2dJSiga9geyM62R m/0/3/0/007 mw9s7tYucxB9yr2L6HkqeDVsh3wdgMdcyK used 0.99995750 btc m/0/3/0/008 mq5TgTNgwYHv88Q4T7wL6kTb1MBSPE3mqK used 0.99995750 btc m/0/3/0/009 mhzQFY8FNvux6SKWKLKmhBB3Sw4MLaSnyu used 0.99995750 btc m/0/3/0/010 mrYECmCf5UKa1BBRMuzprVugsCi9z7oiHo new 0.00000000 btc m/0/3/0/011 mopUNXmHT8ngfBymM3c3EYMg7RLZAf6Zc6 new 0.00000000 btc m/0/3/0/012 mmaVXVfQP4UAYJPhMpQ3FhgXfHzujaxyw4 new 0.00000000 btc m/0/3/0/013 mzYD1AcUFz8SVwJM8EjVCfEM6pcYnHooBR new 0.00000000 btc m/0/3/0/014 my5unLCEMWQBkXBdeJ75VVGk1wrMrT8iDE new 0.00000000 btc m/0/3/0/015 muA76YSTtKKmD6HnVKYhkd9K9TZnPLh8pp new 0.00000000 btc internal addresses m/0/3/1 for mixdepth=3 balance=2.99987250btcAs you can see, 3 coins have arrived.
1M72Sfpbz1BPpXFHz9m3CdqATR44JvayddThat long alphanumeric line above is an example of a Bitcoin address and is given to your buyer when they want to send Bitcoins to you. You can generate any number of addresses so that you do not have to use the same one for each transaction. Bitcoin wallets will hold all your addresses and make transactions easier as they usually allow for one click copying of address for you to paste somewhere else; minimizing the error of typing out such a long address. When a Bitcoin payment is sent to an address, the receiver will receive a notification that his or her address has received Bitcoins. There is then a confirmation period (10 minutes on average) for the network to confirm that Bitcoin address A has successfully sent Bitcoins to Bitcoin address B. A fully confirmed transaction has 6 confirmations though some websites make do with less confirmations.
(e.g. nchain claiming they are patenting bitcoin and will only license their patents to bcash users).This is an outright lie, nChain is not trying to patent Bitcoin. With the whitepaper being a prior art "Defensive Publication" this is nearly impossible. (Unless Satoshi comes out and proves his identity in a court.)
The definition of patent infringement may vary by jurisdiction, but it typically includes using or selling the patented invention. In many countries, a use is required to be commercial (or to have a commercial purpose) to constitute patent infringement.https://en.wikipedia.org/wiki/Patent_infringement
[index]          
Thanks for watching! Love you guys! Merchandise http://dannyduncan69.com Twitter http://www.twitter.com/DannyDuncan69 Instagram http://www.instagram.co... Special Thanks to Bitcoin Donors 0.015, 0.00256, 0.005, 0.00999999, 0.001855, 0.0027 and subscriber 0.1! We’d also like to thank our Change Tippers Dave, M3metic, waxwing, Prash, Kdorksy ... These three segments were filmed during the deployment of the WSF - "Wake Shield Facility" Satellite during that mission. https://en.wikipedia.org/wiki/Wake_... ⭐Site Link ... High Risk Not Safe Free Earn 100 To 0.001 Bitcoin High Paying Btc Faucet Without Invest Bitcoin-Giveaway Review grab.tc- high paying bitco... Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.