Bitcoin Forum
October 03, 2025, 02:34:23 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / The original CryptoNote version 1 paper and its Java implementation - where now? on: January 15, 2021, 09:11:40 AM

Is there any way of extracting this paper out from this site?
https://docplayer.net/50640724-Cryptonote-v-1-0-nicolas-van-saberhagen-december.html

Also, does anyone here know where the original Java implementation source code of CryptoNote is now?
2  Bitcoin / Development & Technical Discussion / Re: Is this how a single Bitcoin data looks like? on: January 09, 2021, 05:50:47 AM
I've been scanning the references you sent...

The term "UTXO db"
          ... is that the very "coin" that I'm really looking for?

If that's the case, by dissecting it (that is "UTXO db"), I'd get to understand how a Bitcoin looks like and works - is that it? :-/
3  Bitcoin / Development & Technical Discussion / Re: Updated bitcoin miner client flowchart - is this correct now? on: January 09, 2021, 05:32:37 AM
I wanted to make a graphic again so I can better illustrate it but this forum doesn't allow me to.
I'll list down what I undestand to be the exact steps, based on what all your replies in the thread tell me...

Step 1 -  activate mining hardware

Step 2 -  start mining software

Step 3 -  software connects to port 8332 or any available port; listen for active nodes

Step 4 -  connect to active node

Step 5 -  download new updated blockchain ledger

Step 6 -  fetch miner's wallet

Step 7 -  add reward to miner's wallet

Step 8 -  Get the 1MB head of the blockchain ledger

Step 9 -  Begin mining

Step 10 -  Is hash below target?

> if no, return to step 9

> if yes, go to step 11

Step 11 -  broadcast the new block

Step 12 -  Do you wish to continue mining?

> if no, return to step 8

> if yes, go to step 13


If there are any mistakes, just tell me...

By the way, I'm puzzled as to where the following lines go to in the steps I listed (from mocacinno's reply):

Quote
Building an utxo set and filling your mempool with unconfirmed transactions
=>
Receive a new block, update your utxo db and mempool
=>
Select the top 1Mb (not countig witness data) transactions from your mempool and create a block. Add the coinbase transaction funding your own address with the current block reward + fees from the selected transactions (fee = sum of the value of all the inputs minus the sum of the value of all the outputs)
=>
create the block header (including the hash of the previous's block header, the root of the merkle tree of all tx's selected in the previous step, the nonce and some extra data)
=>
Iterate over the nonce untill you find a block header whose sha256d hash is under the current target OR untill a new valid block is received by your node (if you receive a new valid block, go back to the second step of this list)


A secondary loop should continue receiving broadcasted transactions to keep filling your mempool
4  Bitcoin / Development & Technical Discussion / Re: Is this how a single Bitcoin data looks like? on: January 09, 2021, 05:25:49 AM
No.

There isn't any data that specifically represents a single Bitcoin. Rather, transactions references UTXOs (unspent transaction output) within transactions to send the funds. Every transaction, other than the coinbase transaction within a block contains a UTXO to be defined and spent. The UTXO set contains data like the TXID, TX index, block which it's in, script etc, amount, etc.

Bitcoin works like a ledger where the coins are originated from the coinbase transaction in a block but there is no actual representation of individual unique coins.

The ledger should not contain the private keys pairs for each pkh address. Transactions can only be spent by fulfilling the criteria as defined in the UTXO, be it corresponding signatures or specific conditions.


So, are you telling me it's formless - like, it doesn't have a format or anything?
It's not like this then:

 -------------------------------------------------------------------------------------------------
| index of owner's private key ||    index of latest Bitcoin ledger   ||   index of Bitcoin denomination    |
 -------------------------------------------------------------------------------------------------

(Sorry for the crude representation of my original graphic - just wanted to put it here for reference...)

But if the UTXO is that thing, how should the Bitcoin look like?
Sorry but I can't seem to form an image in my mind as to what it would look like....

5  Bitcoin / Development & Technical Discussion / Is this how a single Bitcoin data looks like? on: January 09, 2021, 04:51:11 AM
We all know what a dollar bill is made of (some plant fibers, paper and proprietary cloth fiber according to US Treasury specs) and so is a quarter (an alloy of metals minted by the US Central Bank)

But I'm curious about that one coin of crypto-currency, like Bitcoin (BTC) or Bitcoin Cash (BCH)

The data that makes up crypto-currency like Bitcoin - what is it made of?
Is it like what my diagram says it to be?



Hope you guys here can help - I'm really curious about that....

6  Bitcoin / Development & Technical Discussion / Re: Updated bitcoin miner client flowchart - is this correct now? on: January 09, 2021, 04:29:01 AM
Your previous thread: https://bitcointalk.org/index.php?topic=5304116.0. I didn't receive any response from you but please let me know if you didn't understand any parts of my explanation.

To correct again, the mining software doesn't interfere with the wallet nor 'pays' the miner's rewards. The most it could do is to specify the coinbase transaction and the outputs which are already decided before a valid block is mined.

I'm having a hard time updating the graphic for the flowchart. Had it been so easy to upload replies with revised illustrations in the thread, I would have stuck to the old thread.

So I was forced to create this new thread.

It was not my intent to disrespect you - there really are a lot of constraints to putting up replies with illustrations.

I'm more of a visual learner - pure talk and pure text replies make it hard for me to understand even the most basic concepts.

My apologies, and please bear with me...

7  Bitcoin / Development & Technical Discussion / Updated bitcoin miner client flowchart - is this correct now? on: January 08, 2021, 11:08:45 AM

Admins, kindly permit this post - to everyone else, respect this please...

I've made a diagram here about a mining software (be it for solo-mining or mining pool) connecting to any variant of the bitcoin network. I like to know if I diagrammed it correctly.


(in case you can't see the image, go here - Back-up link to flowchart image https://imgur.com/6zVxxfS)

I am aware that solo-mining is a stupid endeavor and setting up mining pools is just not so profitable any more - but I'm more on the software side and I want to understand how a mining client works.

I understand how the blockchain works (thanks to the Simply Explained YouTube channel) but one thing I'm still trying to figure out is how the crypto-miner connects to the internet for the mining operation and how it also connects to the net to load the coin rewards into the miner's wallet.

Feel free to talk about this thread - just no stupid offers to invest in bitcoins or other crap. I don't own ANY crypto-coins and I'm only into programming - 'nuff said.
8  Alternate cryptocurrencies / Mining (Altcoins) / Java source code of the Bitminter client for altcoins mining on: January 07, 2021, 02:22:56 PM
I've been wondering where the Java source code for the Bitminter client is.
Can it be modified to work with ARM processors / Android phones?
Can it be modified to mine BCH (Bitcoin Cash), XRP, Litecoin and Monero using ARM processors / Android phones?
9  Alternate cryptocurrencies / Altcoin Discussion / Ethereum, XRP and Monero for Electrum wallets - Got a Question on: January 05, 2021, 01:58:27 PM
Got a question here:

Can the present Electrum version support these cryptocoins - Ethereum, XRP and Monero?

Just wondering though...

If not, can Electrum's source code be modified to support those?

10  Bitcoin / Bitcoin Technical Support / Re: Does this accurately show how a crypto-mining software works? on: December 28, 2020, 11:45:00 AM
Mining softwares are usually connected to a pool or node of some sort which will feed it with the information required.

The mining software will obtain the information needed to build a block header from the program. The ASICs merely hashes the block header twice with SHA256 to obtain the block hash. The variables within the block headers are changed with every attempt to ensure that the output is a different hash for every attempt. Only when the hash meets the minimum target, it will submit the correct block header to the mining pool. The mining pool will relay the block across the network and the reward becomes spendable after 120 confirmations.

There's no such thing as a verification node sending coins. Neither will the mining software interact with the coins, it's primary purpose is to supply information to the ASICs. When you're building your block header, you'll assemble a set of transactions and in that set of transactions, there should be a coinbase transaction which would consists of the coins being sent to the address that you've specified.


If my previous diagram is wrong, then is my revised flowchart below the correct one now?


I want to understand how mining works so I'm starting from the beginning - that is, mining on my own first. Kinda find the diagram for mining pools really complicated - so I'm starting with this first...
11  Bitcoin / Bitcoin Technical Support / Re: Does this accurately show how a crypto-mining software works? on: December 28, 2020, 11:12:24 AM
there is a wrong part at the end about mining software storing coins into miners address after finding the block, this all happens BEFORE the mining even begins because the block has to be created and the coinbase set to send the reward to defined addresses before mining begins.

Hmmm...so what address are you referring to? The miner's bitcoin wallet address?
By the way, is my revised diagram correct now?

I want to understand how mining works so I'm starting from the beginning - that is, mining on my own first.
Kinda find the diagram for mining pools really complicated - so I'm starting with this first...
12  Bitcoin / Bitcoin Technical Support / Does this accurately show how a crypto-mining software works? on: December 27, 2020, 12:57:58 PM
Hi guys, just got a question here:

Does this flowchart accurately show the step-by-step workings of a typical crypto-miner software?
I'm a newbie in the cryptocurrency business. Though I welcome comments and objections, please be understanding...

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!