Bitcoin Forum
May 30, 2024, 11:52:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / CGminer with fork of Bitcoin v-0.18 for education on: June 07, 2021, 09:26:11 AM
Hi,

I have been following this tutorial (https://bitcointalk.org/index.php?topic=5134256.0) to play around with a forked version of Bitcoin 0.18. I have created the genisis block and was looking to mine it via RPC using a Gekko NewPac I had laying around using this version of CGminer (https://github.com/vthoang/cgminer.git) which i have compiled on my pi.

After around 5 mins both nodes reported over 1600 blocks had been mined, but when I checked the balance of the wallet in the fork of QT it was zero. I checked bitcoins balance via RPC and the available balance was 0, I then checked the total supply via RPC and the coins were generated but obviously sent somewhere else as they weren't in the wallet.

Any help is appreciated as I cant make head nor tail of it and my Cpp is not the best.

Cheers

2  Alternate cryptocurrencies / Mining (Altcoins) / Mining a fork of Bitcoin 0.18 using CGminer on: June 06, 2021, 07:50:36 PM
Hi, I have been following a tutorial (https://bitcointalk.org/index.php?topic=5134256.0) to fork the Bitcoin codebase, I have everything up and running with 2 instances and have even managed to get CGminer working with the local node and a spare NewPac stick I had lying around.

For some reason, when the coins are mined they are not showing in the balance of the recieving wallet, even after 1000 blocks.

I'm trying to learn but I've been scratching my head for a good few days and wondered if anyone might be able to help.

Cheers
3  Alternate cryptocurrencies / Altcoin Discussion / Forking Bitcoin for education on: June 06, 2021, 03:14:53 PM
Hi, I have been following a tutorial (https://bitcointalk.org/index.php?topic=5134256.0) to fork the Bitcoin codebase, I have everything up and running with 2 instances and have even managed to get CGminer working with the local node and a spare NewPac stick I had lying around.

For some reason, when the coins are mined they are not showing in the balance of the recieving wallet, even after 1000 blocks.

I'm trying to learn but I've been scratching my head for a good few days and wondered if anyone might be able to help.

Cheers
4  Alternate cryptocurrencies / Altcoin Discussion / Re: *** Complete Guide on How to Create a New Alt Coin – Update 2019 *** on: May 28, 2021, 07:09:01 PM
Hi pal,

Followed this tutorial and now have two working instances of my Alt running. I decided to try and mine via RPC (still available on v0.18) with a simple python script I found on github (ntgbtminer). Problem is I'm getting the error

    Consensus::CheckBlock: bad-txns-vout-toolarge

Sorry for the off topic question but I could do with a second opinion.

Cheers
5  Bitcoin / Development & Technical Discussion / Re: Pollards kangaroo method to reverse engineer private keys on: March 06, 2021, 03:51:44 PM
Thanks for the info, is there a consolidated list of the puzzles that have been solved and the likely method used to solve them?
6  Bitcoin / Development & Technical Discussion / Re: Pollards kangaroo method to reverse engineer private keys on: March 06, 2021, 02:06:20 PM
Thanks for the reply, knew my understanding must have a big hole in it.

So the additional information an attacker would need is to know a range that the private key is within [a, b]. Now I understand why a flaw in generating the private key (not truly random) can result in encryption failure on an other wise cryptographically secure system.

Thanks for the info on UTXO, always thought it was weird to leave funds on an exposed address but the above explains it.

One other question, how small does the range [a, b] have to be to consider it an immenent security threat with current hardware?
7  Bitcoin / Development & Technical Discussion / Pollards kangaroo method to reverse engineer private keys on: March 06, 2021, 12:03:25 PM
Sorry if this should be elsewhere but the level of technical detail in the main pollard kangaroo method thread is far beyond my level of technical understanding.

I just want to check my understanding and see where I might not have a good grap of the basics before proceeding. My assumptions are below;

* The pollard kangaroo method can drastically reduce the amount of work required to obtain the private key from the public key but requires the public key as an input to do this.

* Once an address has spent some of it's funds that address public key is revealed in the spend transaction.

* The funds which are not spent are returned to a change address leaving a balance of 0.

* The address should not be reused as a malicious actor can start generating the private keys from the moment the spend transaction is confirmed.

Feel free to correct any of the above points but if the above is correct; can anyone answer the following;

* Address reuse was extremely common in the early days and there are several addresses with 1000+ BTC balances with outgoing transactions revealing the public key.

Why has this not been used to steal the funds?

I'm sure there is a limiting factor to this method but I could do with it being spelled out in layman's terms.

Cheers.
8  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt and CGminer for solo mining on: December 16, 2020, 07:22:15 PM
Cheers for the help,

I'll try and sort it later tonight, new to Linux so will have to learn  how to do it.

All sorted now, cheers for the help pal.
9  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt and CGminer for solo mining on: December 16, 2020, 02:50:29 PM
Cheers for the help,

I'll try and sort it later tonight, new to Linux so will have to learn  how to do it.
10  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt and CGminer for solo mining on: December 16, 2020, 02:22:26 PM
copy the folder of core 0.19.1 to /home/username/bitcoin-0.19.1.
then change to that directory cd /home/username/bitcoin-019.1/bin and start ./bitcoin-qt


Not sure where I'm going wrong but I've extracted v 0.19.1 from the GitHub zip but there Is no startup script in the downloaded files.
11  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt and CGminer for solo mining on: December 16, 2020, 01:54:54 PM
Cheers for the reply,

I'm new to Debian and could do with a example of how to downgrade the Bitcoin-qt software, is it difficult or is the a basic tutorial out there?

Cheers
12  Bitcoin / Bitcoin Technical Support / Bitcoin-qt and CGminer for solo mining on: December 16, 2020, 01:40:38 PM
I'm attempting to set up CGminer using my own full node for fun / education / lottery, I know the chances are well below zero but figured I'd give it a go.

Software

Bitcoin-qt v 0.20.1
CGminer v 4.11.1

OS

Debian 5.4.79-v7l+ armv7l
 When running using the below command for CK pool everything works fine,

/usr/src/cgminer/cgminer -o stratum+tcp://solo.ckpool.org:3333 -u bc1qgh7q8kceh4289xehdy8mmjfsp74rzg4fsemtj5 -p x

When run with the below command for solo mining,

/usr/src/cgminer/cgminer -o http://localhost:8332 -u 12345 -p 12345 --btc-address bc1qgh7q8kceh4289xehdy8mmjfsp74rzg4fsemtj5

I get the following response,

Pool 0 JSON failed to decode GBT

I have tested the getblockinfo with the segwit rule via bitcoin-cli and it appears to be working fine, this leads me to believe it is either a config or version issue but I can't figure it out.

Any help appreciated

Phil
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!