Categories
Bitcoin Cryptocurrency Mastering Development

Someone made a small, apparently fraudulent, transaction to my public address. What is the purpose behind it?

I have a small e-commerce site and someone made three cryptocurrency purchases just seemingly to know my public addresses as she never paid the cost of goods. The three addresses she viewed are public derived from the master public key so there shouldn’t be any security problems there afaik. She seemingly wanted to know my […]

Categories
Bitcoin Cryptocurrency Mastering Development

What is “signature recovery”?

Bolt #11 defines a “tagged field,” n, which identifies the payee by a public key, but it isn’t required. It also requires a signature which can be verified only if the public key is known. When tagged field n is not included, something called “signature recovery” is required. How does that work? I ask because […]

Categories
Bitcoin Cryptocurrency Mastering Development

Settling payment in Lightning Network [closed]

In HTLC, after all the parties have locked their funds in the contract, claiming payment happens in a reverse way, starting with the receiver who reveals the preimage of the corresponding payment hash. What will be the problem if it had started with the sender? After the receiver confirms receipt of the contract, it sends […]

Categories
Bitcoin Cryptocurrency Mastering Development

Settling payment in Lightning Network [closed]

In HTLC, after all the parties have locked their funds in the contract, claiming payment happens in a reverse way, starting with the receiver who reveals the preimage of the corresponding payment hash. What will be the problem if it had started with the sender? After the receiver confirms receipt of the contract, it sends […]

Categories
Bitcoin Cryptocurrency Mastering Development

Settling payment in Lightning Network [closed]

In HTLC, after all the parties have locked their funds in the contract, claiming payment happens in a reverse way, starting with the receiver who reveals the preimage of the corresponding payment hash. What will be the problem if it had started with the sender? After the receiver confirms receipt of the contract, it sends […]

Categories
Bitcoin Cryptocurrency Mastering Development

How to get the time when a block is received at a node?

Is there any variable in the bitcoind code that records the timestamp when a block is received for the first time by a particular node? To be more precise, for transactions, transaction information returned by Bitcoind JSON RPC API contains timereceived. Is there similar field for blocks in the API? There happens to be similar […]

Categories
Bitcoin Cryptocurrency Mastering Development

Could it be possible to secure transactions against double-spending with other utxos?

I’m new to Bitcoin Script, and I was wondering if it is possible to use funds from one utxo to “insure” that other utxo will not be double-spent (until the Lightning Network will save us all). Suppose I have 0.1 bitcoin in a utxo with pubkey pubKey1, and 10 bitcoins that I would send to […]

Categories
Bitcoin Cryptocurrency Mastering Development

How to best practice restoring a wallet in bitcoin core

I have a test wallet in bitcoin core that I want to play around with and get comfortable with before I move my btc from blockstream green wallet. I primarily use that wallet because so far it has been easy to understand. So I have created this core wallet, sent $1 worth of btc to […]

Categories
Bitcoin Cryptocurrency Mastering Development

Mempool count is too low

I’m running a full node. I wanted to get a list of all mempool txs (using getrawmempool false), and found that it only came back with around 3000, where all the block explorers are currently showing around 12000. I understand that mempools will differ between nodes, but this seems like a very big difference. Can […]

Categories
Bitcoin Cryptocurrency Mastering Development

Where is the block reward system coded in Bitcoin core?

I’m taking a look at Bitcoin core and am looking for where the TX is effectively “generated” and send out to an address. I’ve found the nSubsidy block reward, but I’m currently looking for where the transaction is sent out and recorded on the blockchain. If I don’t understand something right, please correct me, otherwise, […]