Bitcoin Core Advanced Discussion

Welcome to the discussion about this lecture. Here you can ask questions or post feedback about this specific lecture.

Hej @ivan

I think you made a small mistake in this lecture at 4:30min when you’re going through the utxo’s, you list them in the wrong order. The bottom utxo with 101 confirmations was the third and last reward we got, because the reward came from the block number 3, it has 100 blocks in front of it. The top utxo with 103 confirmations was the reward from the first mined block and has 102 blocks in front of it.

Let me know if I am wrong, this is a bit of a brain twist to think about :slight_smile:

1 Like

@ivan

In the latest Bitcoin Core generate RPC is deprecated:
error code: -32
error message:
The wallet generate rpc method is deprecated and will be fully removed in v0.19. To use generate in v0.18, restart bitcoind with -deprecatedrpc=generate.
Clients should transition to using the node rpc method generatetoaddress

If anyone comes here for this issue you can use this new method:

  1. Get a new address ./bitcoin-cli -regtest getnewaddress
  2. Double-click the new address to select it and Ctrl+C to copy it
  3. Generate the blocks: ./bitcoin-cli -regtest generatetoaddress 101 paste-here-your-address-with-ctrl+v
3 Likes

Thanks alot for your help.

Maybe Ivan you should update that part os the course :slight_smile:

Why should having a blockchain explorer a businesscase for an entrepreneur?

What are other nice usecasus for having a full node. Things I think off is:

As an entrepreneur off a shop

What more?

Question regarding my Bitcoind running in powershell.

Now that my client has finally caught up to the current blocks, it shows

34’ of last 100 blocks have unexpected version

What does this mean?