So it should be, nSubsidy >>= (nHeight / 5112000);
then what happen write like nSubsidy >>= (nHeight / 5,112,000);
?
|
|
|
So in mobile phone Game (Android, iOS), PC game, how to implement that (title)?
In game, game company's specific crypto currency's address, QR code appears for payment receiving,
gamers see that, and send amount to that address, it should be automatically recognize and when it confirmed, game should automatically give item to users.
How this be done technically behind the scene?
|
|
|
So at c:\<coin data>\, block data filesize become more big as time goes?
So in case of exchange, there are hundreds of coins,
then all those coin's daemon is running, then all those block data accumulated, size more become bigger as time goes.
then exchange need few more Terabyte harddisk for store those data?
Is this right?
|
|
|
Can I use above key value part already input in A's sourcecode as-is for B coin?
If you want to. It all depends on how you implement it. Why would you want to? If it does not cause problem, then why I want to change. Is it cause any problem? If so, how to generate new key values?
|
|
|
With Bitcoin Core, the DNS seeds aren't IP addresses but they are actual domains. With the actual domains, you can update the address for which they are pointed to for the client to get the information from.
Changing the source with every IP change is very tedious for the users.
So anyway, I should add DNS seeds address to source. No issue with compatibility new build with old nodes?
|
|
|
I just running coin program as -qt GUI wallet program. And can't open the webpage I set at settings.php's $server_url = " http://121.xxx.xxx.123:312/"; (my vps's ip address) Why? how to fix?
|
|
|
I made VirtualBox, ubuntu OS, there I make some A coin with,
openssl ecparam -genkey -name secp256k1 -out alertkey.pem openssl ec -in alertkey.pem -text > alertkey.hex openssl ecparam -genkey -name secp256k1 -out testnetalert.pem openssl ec -in testnetalert.pem -text > testnetalert.hex openssl ecparam -genkey -name secp256k1 -out genesiscoinbase.pem openssl ec -in testnetalert.pem -text > genesiscoinbase.hex
Then, I copy A coin folder and paste to new folder, now try to make B coin.
Can I use above key value part already input in A's sourcecode as-is for B coin?
|
|
|
If you already have compiled daemon then you can just copy it there. It doesn't matter where you compile it.
Ok, thx, then daemon file's put position is not matter? Or should I put daemon file at /root folder?
|
|
|
Correct way would be to get a VPS from one of the available cloud services and have a local wallet with your coins.
I already did. Source compile should be executed there or just move mycoind file to there is enough?
|
|
|
If I work at in my desktop's virtualbox,
1. first I should upload to github, then cloned it to VPS, and then compile there and make mycoind file?
2. or I can just copy mycoind file from my desktop to VPS and there I run ./mycoind?
Thanks.
|
|
|
If I work at in my desktop's virtualbox,
1. first I should upload to github, then cloned it to VPS, and then compile there and make mycoind file?
2. or I can just copy mycoind file from my desktop to VPS and there I run ./mycoind?
Thanks.
|
|
|
So after I made coin at local virtualbox's ubuntu, compiled,
qt wallet program run well in local,
so I uploaded only daemon file to VPS server's root folder's inside coin folder.
but when I run ./mycoind
it just stop a while and later spit out error of
bool InitBlockIndex(): Assertion 'hash == hashGenesisBlock' failed? Aborted
Why and how to fix?
Did you create a genesis block? If so, there is something wrong with your merkle root ( or it simply spits this error because there is no hash), if not, then there's probably something wrong with your genesis block. ( It's not matching hash/ merkle root) If you haven't created the genesis block ( or created it wrongly, (which i think is the error here)), try to follow something along these lines, https://bitcoin.stackexchange.com/a/21328Yes my mistake. I didn't turn off or remove that genesis block code.
|
|
|
The exchange will control the private key to all of the coins (be it bitcoin, or some other altcoin) on deposit at the exchange along with having ownership of fiat on deposit and they will make an entry in their database once a trade takes place.
Exchanges will generate deposit addresses for each customer for each coin.
How to do that? And how about deals occured in exchange?
|
|
|
1. How exchange provide each coin's address to each users?
2. At exchanges, buy/sell occurs at real time. Then it is not actual send/receive bitcoin between buyer/seller's real bitcoin address. Because it took so much time.
Then how exchange implement these part?
|
|
|
So after I made coin at local virtualbox's ubuntu, compiled,
qt wallet program run well in local,
so I uploaded only daemon file to VPS server's root folder's inside coin folder.
but when I run ./mycoind
it just stop a while and later spit out error of
bool InitBlockIndex(): Assertion 'hash == hashGenesisBlock' failed? Aborted
Why and how to fix?
|
|
|
RPC port, P2P port,
Dev need to get unique port right? To avoid conflict with other coins.
How to get?
|
|
|
So eventually, some guy want to sell mining hardware exclusively,
and he already got litecoin cloned coin.
So he want to make mining hardware order from hardware assembly company, (not Asic, but just GPUs)
and attach his company sticker to it, and he want this hardware only can mine his coin.
And he don't want that mine hardware buyer to resell it.
Is this possible?
|
|
|
If some coin's subsidy is 500, when new block mined,
some A address receives 7.5, other B address receives 0.5, what are these?
Is this 1.5% of 500, 0.1% of 500 is set on mining program?
I can't find anything strange above gimic at coin reward function at main.cpp
int64 static GetBlockValue(int nHeight, int64 nFees){
}
|
|
|
Thanks much! So, ./bitcoind (now ./bitcoin-cli ?) does not provide simple one function to make Address?
|
|
|
If there is an coin and running network at public,
If developer change hard-coded IP address in source, and make new client, but it does not conflict with existing node?
IPs in source code (of old bitcoin clients) & dns seeds are only a way to help discovering other nodes. They are not authority or dictate how the network will behave. Once another nodes are discovered by the client, they don't use this list anymore, as peer information will be stored in the peers.dat database. Therefore, it one of the clients of the "new" client contacts a node of the "old" client in any way, and protocol doesn't differ, you'll have what you call "conflicts". That's why most altcoins change network ports from their original implementation. Please note I believe you can't define anymore any node IP in bitcoin's source code, only dns seed which returns IP addresses of nodes. I am working at altcoin's old version source, and want to change net.cpp 's 1175 line, strMainNetDNSSeed[] 's IP address. strMainNetDNSSeed[][2] = { {"asdf.com", "13.xxx.xxx.33"}, {"qwer.com", "23.xxx.xxx.33"} } to another. so in this part, "asdf.com" doesn't matter and only IP address is matter, right?
|
|
|
|