Bitcoin Forum
May 10, 2024, 12:34:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Stash (BSH) Merged Mining Guide for SHA256 Coin Miners  (Read 276 times)
RelaxinMinert (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 29, 2018, 09:47:26 PM
 #1

Bitcoin Stash Merged Mining Guide


Overview

Bitcoin Stash is a merge mineable cryptocurrency that utilizes SHA256 for its mining algorithm. This means that it can be merge mined with other SHA256 coins like Bitcoin an Bitcoin Cash. Merge mining is a process where a miner is able to mine multiple cryptocurrencies at the same time. All that is required for a miner is to add 48 bytes of data to the coinbase of the parent block.
We will have a private testnet testing phase beginning at 11/4/18. On 11/4/18, miners will have access to Bitcoin Stash binaries (with only testnet capabilities available). They will be able to merge mine on the testnet by following the below instructions. A sample code implementation is provided in bitcoinstash_mergemining_sample.py.


Instructions

Follow the step belows to merge mine on Bitcoin Stash. Sample code implementation is provided in bitcoinstash_mergemining_sample.py.

1.Use RPC call getnewaddress() to get a new address for Bitcoin Stash (this will only need to be done once)

2.Call RPC command createauxblock() with address obtained from step 1). This will make a Bitcoin Stash block with a coinbase payment to the address.

3.From the JSON output of createauxblock(), use 'auxcoinbasedata' to obtain the data that must be inserted into the script sig of the coinbase in the parent block. To understand how this data is constructed, read the 'Constructing the Auxpow Coinbase Data' section below.

4.Start solving the parent block until you meet the encoded target threshold specified by the 'bits' field in the JSON output of createauxblock().

5.If the parent block meets the target as defined step 4, construct the auxpow header data. Submit the auxpow header data using RPC command submitauxblock() with first argument being 'hash' from output of createauxblock in step 2), the second argument is the hex string of the auxpow data. Instructions on constructing the auxpow data is shown below. If a valid auxpow header data was submitted, the merge mined block will be submitted on the Bitcoin Stash network.


Constructing the Auxpow Header Data


Auxpow header data is extra data attached to the BitcoinStash block header that links the block to the the parent block. It is composed from the below data.
Serialized coinbase transaction +
Hash of the parent block (32 bytes) +
Merkle branches (can be 0x00, if only transaction in block) +
Index in the merkle branch (4 bytes, must always be \x00\x00\x00\x00) +
Chain Merkle branch (4 bytes, can be 0x00, if no other child chain) +
Index in the chain merkle branch (4 bytes, can be \x00\x00\x00\x00 if no other child chain) +
Serialized parent block header

Constructing the Auxpow Coinbase Data

The auxpow coinbase data is data inserted into the parent block's coinbase to link the parent block to the BitcoinStash block. It is composed from the below data.
Merge Mining Header (4 bytes, must always be \xFA\xBE\x6D\x6D ) +
Root hash of Merkle Trie containing child chian (32 bytes, set to hash of Bitcoin Stash block if no other child chain) +
Merkle Trie Size, (4 bytes, set to 1 if no other child chain) +
Nonce, the nonce and the chain id of the child chain determines a pseudo random slot in the chain merkle trie (4 bytes, can be set to anything if no other child chain) +
Parent Chain Id (4 bytes, set to 210 if Bitcoin is the parent block 209 if Bitcoin Cash is parent block)


Stand Alone Mining


Stand alone mining (mining Bitcoin Stash only without using its merge mining capabilities), will also be possible through the standard RPC call getblocktemplate.


Bitcoin Stash Wallet Binary Files (Windows & Linux)

Linux /// Windows

Bitcoin Stash Website

https://bstash.org

Bitcoin Stash Forum
https://forum.bstash.org

Bitcoin Stash Explorer

http://explorer.bstash.org
1715301265
Hero Member
*
Offline Offline

Posts: 1715301265

View Profile Personal Message (Offline)

Ignore
1715301265
Reply with quote  #2

1715301265
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715301265
Hero Member
*
Offline Offline

Posts: 1715301265

View Profile Personal Message (Offline)

Ignore
1715301265
Reply with quote  #2

1715301265
Report to moderator
v.danev
Newbie
*
Offline Offline

Activity: 186
Merit: 0


View Profile WWW
December 29, 2018, 09:49:37 PM
 #2

reserved
xryy1984
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 30, 2018, 05:17:32 AM
 #3

你妈的  病毒
xryy1984
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 30, 2018, 05:35:30 AM
 #4

不要脸,生儿子没JJ
xryy1984
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 30, 2018, 10:03:12 AM
 #5

孙子,你妈喊你回家吃饭
MATPOC
Newbie
*
Offline Offline

Activity: 155
Merit: 0


View Profile WWW
December 30, 2018, 10:03:41 AM
 #6

Interesting!
dkbit98
Legendary
*
Offline Offline

Activity: 2226
Merit: 7147



View Profile WWW
December 30, 2018, 10:36:04 AM
Last edit: July 30, 2019, 08:43:33 AM by dkbit98
 #7

Is BitcoinStash the real bcash before those Faketoshi and RogerKver broke up and divorced?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
way2vinoth
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
December 31, 2018, 06:33:38 AM
 #8

pool res
coin8coin
Member
**
Offline Offline

Activity: 308
Merit: 22


View Profile
January 01, 2019, 03:24:07 PM
 #9

Is BitcoinStash the real bcash before those Faketoshi and RogerKver broke up and divorced?

Bitcoin Stash is a hard fork of Bitcoin Cash. With each passing day, as the true value of cryptocurrencies become better understood,
the threat of 51% attacks on the Bitcoin Cash network becomes more imminent.
Corporate and private interests, combined with greed and incompetence has corrupted the security of Bitcoin Cash.
On November 15th, 2018 at approximately 4:40 PM GMT, we provided the solution through merged mining with Bitcoin and Bitcoin Cash.

just fork everything...

Now nobody for BTC now, cos they forked too much in the last year!
They will fork BCH in 2019
what's the next project ?
Pages: [1]
  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!