Bitcoin Forum
May 31, 2024, 12:17:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 »
181  Bitcoin / Development & Technical Discussion / What happen write number like this at code? on: April 06, 2018, 12:19:04 AM
So it should be,
nSubsidy >>= (nHeight / 5112000);


then what happen write like
nSubsidy >>= (nHeight / 5,112,000);

?

182  Bitcoin / Development & Technical Discussion / How to use crypto curency as game in-app-purchase payment? on: April 05, 2018, 07:29:41 AM
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?



183  Bitcoin / Development & Technical Discussion / If coin daemon is running, block data also will be increased? on: April 05, 2018, 05:38:54 AM
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?
184  Bitcoin / Development & Technical Discussion / Re: Openssl key should be different with each coin? on: April 04, 2018, 08:22:14 AM
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?
185  Bitcoin / Development & Technical Discussion / Re: Coin's VPS server can be moved to other VPS? on: April 04, 2018, 08:08:51 AM
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?
186  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: [ANN] piWallet - Opensource Online Altcoin Wallet on: April 04, 2018, 06:54:17 AM
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?
187  Bitcoin / Development & Technical Discussion / Openssl key should be different with each coin? on: April 03, 2018, 02:58:29 AM
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?
188  Bitcoin / Development & Technical Discussion / Re: What is correct way of setup VPS? on: April 03, 2018, 02:53:09 AM


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?
189  Bitcoin / Development & Technical Discussion / Re: What is correct way of setup VPS? on: April 02, 2018, 06:05:29 AM

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?
190  Bitcoin / Development & Technical Discussion / What is correct way of setup VPS? on: April 02, 2018, 02:34:55 AM
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.
191  Alternate cryptocurrencies / Altcoin Discussion / What is correct way of setup VPS? on: April 02, 2018, 02:28:40 AM
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.
192  Alternate cryptocurrencies / Altcoin Discussion / Re: How to run coin's daemon at VPS server? on: April 02, 2018, 02:21:47 AM
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/21328

Yes my mistake. I didn't turn off or remove that genesis block code.
193  Other / Beginners & Help / Re: How is exchange's wallet structure? on: March 31, 2018, 05:28:13 AM
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?
194  Other / Beginners & Help / How is exchange's wallet structure? on: March 31, 2018, 03:11:32 AM
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?
195  Alternate cryptocurrencies / Altcoin Discussion / How to run coin's daemon at VPS server? on: March 30, 2018, 07:11:40 AM
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?
196  Alternate cryptocurrencies / Altcoin Discussion / How to get unique port number for coin? on: March 30, 2018, 01:01:31 AM
RPC port,  P2P port,

Dev need to get unique port right? To avoid conflict with other coins.

How to get?
197  Alternate cryptocurrencies / Altcoin Discussion / Re: Can make specific people only can mine to some coin? on: March 29, 2018, 12:48:58 AM
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?
198  Bitcoin / Development & Technical Discussion / When new coin mined, if some address receives share of it on: March 29, 2018, 12:13:20 AM
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){

}



199  Bitcoin / Development & Technical Discussion / Re: How exchanges make wallet adresses? on: March 28, 2018, 02:05:43 PM
See the following link to learn how to compute an address from a public key:
https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
Thanks much!
So, ./bitcoind (now ./bitcoin-cli ?)  does not provide simple one function to make Address?

200  Alternate cryptocurrencies / Altcoin Discussion / Re: If change hard-coded IP address in source, on: March 28, 2018, 07:40:43 AM
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?
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!