Skip to main content

Questions tagged [btcd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

btcd stopped updating blocks database for 36 hours

Newb question. I have just started running btcsuite/btcd. After spending a couple days initializing the blockchain it no longer appears to be writing new blocks. btcctl getblockcount reports 828835 ...
r1ky's user avatar
  • 21
1 vote
0 answers

What optimizations are possible for reading the UTXO set?

Suppose something like a scheme for writing blobs to the blockchain using naked OP_MULTISIG calls takes off big time and the UTXO set starts to grow a lot, how can Bitcoin nodes defend against that? I ...
fiatjaf's user avatar
  • 631
1 vote
1 answer

Is golang's implementation of Bitcoin core sufficiently relevant to the original?

Is anyone familiar with btcd, the Golang implementation of a Bitcoin node. Is it relevant enough? I read somewhere that they boast that it is an almost 1 to 1 mirror of the original C++ implementation,...
dassd's user avatar
  • 1,099
2 votes
0 answers

BTCCTL: How to use the extended RPC commands?

I have a BTCD simnet set up locally on a couple machines. Now, I am looking to use the generatetoaddress RPC in btcctl to fund a couple of different wallets. However, btcctl throws a "-32601: ...
firewithin's user avatar
1 vote
1 answer

Can I create an ordinals-like transaction using bcoin / btcwallet?

According to Understanding how ordinals work with the Bitcoin blockchain. What is exactly stored on the blockchain? you can add data to the unexecuted branch of a taproot input like so: OP_0 OP_IF (...
tuxcanfly's user avatar
  • 395
2 votes
1 answer

What is the October 2022 bug in LND, what caused it and what would prevent a similar bug in future?

LND users are being asked as of October 2022 to urgently update their Lightning node software due to a bug in LND/btcd (alternative Bitcoin implementation in Go). What is the bug and what caused it? ...
Michael Folkson's user avatar
0 votes
0 answers

Cant send raw transaction from golang with OP_EQUALVERIFY failed

I'm using btcsuite (especially this example) package to listen and send unspent inputs for specific address. Tx hash: 690059e82dcee13678c45f2c583207d357af254624f5037b4d4d12b39caf74ca From address: ...
nomvd's user avatar
  • 1
0 votes
0 answers

Understanding how balances work

So I'm running the btcd node and wallet in simnet. I've generated more than 100 blocks. I've a few accounts on the same wallet. The list of the accounts: $ btcctl --rpcuser=foo --rpcpass=123456 --...
Ivaylo Ivanov's user avatar
0 votes
0 answers


I create a transaction with OP_CHECKLOCKTIMEVERIFY. The median time is not greater than my date that I set in my witness script, for that reason if I try to send it I receive: error code: -26 error ...
monkeyUser's user avatar
0 votes
1 answer

Is it possible, with bitcoin-core or btcd, to manually set the scriptSig field in a coinbase transaction?

I am talking about when using regtest or simnet modes. For context, it is so that I can create coinbase transactions with reproducible txids.
Darius's user avatar
  • 789
2 votes
2 answers

Can bitcoind and btcd share a datadir?

I've already fully synced the blockchain with btcd, can I point bitcoind at the same datadir and use its contents?
Matthew Cruz's user avatar
1 vote
1 answer

Bitcoin private key and address generator in golang

I am looking for a golang alternative to . So far I have found but have not figured out how to generate private keys and ...
GMaster's user avatar
  • 187
0 votes
2 answers

address format is different from bitcoin core response from btcd

For now, I'm generating WIF and address using golang btcutil package programmatically. wif, err := btcutil.NewWIF(privateKey, conf, false) if err != nil { return nil, err } ...
Harry's user avatar
  • 143
2 votes
1 answer

Multiple input/output transactions using golang btcd

I am using golang's btcd as a basis for creating some server-side tools for handling transactions. I found a good example for creating a basic one-input-one-output transaction to get me started on the ...
tmesser's user avatar
  • 121
23 votes
2 answers

What are the benefits of using btcd instead of bitcoind?

btcd 1.0 was released October 3, 2013. Why use it instead of bitcoind?
Colin Dean's user avatar
  • 7,052