Bitcoin News / Bitcoin Stack Exchange - 5 years ago
Dorier is correct that Neutrino/SPV nodes are not full nodes, because they do not verify the entirety of the blockchain, leaving potential room for attack. However, the portrayal that Neutrino is no better than other SPV modes is not correct.
Neutri...
Bitcoin News / Bitcoin Stack Exchange - 5 years ago
Assuming a transaction size is T Bytes, while maximum block size is B Bytes, such that T>B.
What happens for this transaction?
It will be divided into two smaller parts and will be stored in two separate blocks? Or it will not be confirmed at all...
Bitcoin News / Bitcoin Stack Exchange - 5 years ago
What you are looking at is just an implementation detail that you really don't need to worry about. It's just converting from an internal format (which may use different coordinate systems and bit lengths, especially for tests) to the standard outpu...
Bitcoin News / Bitcoin Stack Exchange - 5 years ago
script - OP_CHECKLOCKTIMEVERIFY . Include / reject or will not included in block? - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
Does Electrum provides any API? - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to s...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
I was trying to understand the specs on CKD function from both the bip32 standard and Mastering Bitcoin book, I couldn't understand how a private key is derived from the left side of the extended key.
The book just says the right side becomes the ch...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
Questions about cryptocurrencies or projects that are not Bitcoin, and are not applicable to Bitcoin, are off-topic. For more information, see this meta discussion.
Questions about cryptocurrencies or projects that are not Bitcoin, and are not...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
So I understand how blockchains work[1]. I understand how proof-of-work works[2]. And I understand how they work together. I also understand (or at least I think I do :) how transactions work (A block can contain arbitrary data insi...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
AFAIK there are 5 different standard non-SegWit transaction types, and 4 SegWit ones.
Non-SegWit:
Pay to public key (P2PK)
PUSH (1 byte) + <compressed/uncompressed_pk> (33/65 bytes) + OP_CHECKSIG (1 byte)
Pay to public key hash (P2PKH)
OP_DUP...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
script - How to create a p2sh transaction with a scriptsig of OP_true? - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency e...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
transactions - Clients without Isstandard() function - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It onl...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
Years ago I designed a .NET module which facilitates the transmission of BTC to my customers. It creates a binary representation of the desired transaction based on the material presented here and here:
The binary representation is...
Bitcoin News / Bitcoin Stack Exchange - 6 years ago
Easy. Someone has/had remote access to your wallet/files. They don't need access to the computer during the time of a transaction. Example: Send me your wallet and go ahead and secure your computer all you want.... I can simply use your wallet on my...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
I am running a bitcoin node on my machine, fully synced with RPC commands enabled, rpc server live and txindex=1.
In the command-line I can run the following RPC call and obtain the information about the transaction I require. I am...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
receiving - Understanding the receive tab in electrum - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It on...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
When a transaction is orphaned it usually means that it is part of an orphaned block. This happens occasionally so there is no reason to panic :)
According to Anonymous in this answer, orphaned transactions are not lost and are returned to the memor...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
I learned that the blocks and transactions are stored locally in .bitcoin/blocks/index and .bitcoin/chainstate databases, respectively.
I want to make a direct query to those databases to measure the response time.
However, I foun...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
I used the command line bitcoin-cli decoderawtransaction <hex-value> and got back a JSON output (see below). However, I noticed there are hex and asm fields that are themselves hex values (at times). I am thinking these are me...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
It is possible to create MW transactions interactively, and if you're creating multisignature outputs I think this is actually necessary. But ordinary transactions can be created non-interactively (well, with half a round of interaction, as in Bitco...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
As long as you only work on the GUI, Electrum won't create private keys it doesn't generate again when you restore the wallet. On the console, you can increase the gap limit which can cause Electrum to not generate the private keys you already used...
Bitcoin News / Bitcoin Stack Exchange - 7 years ago
Ivy is a higher-level language that allows you to write smart contracts for the Bitcoin protocol. It can compile to instructions for Bitcoin’s virtual machine, Bitcoin Script, and can be used to create SegWit-compatible Bitcoin addresses.
Ivy GitHu...
Bitcoin News / Bitcoin Stack Exchange - 8 years ago
The first number does not include the prevout, sequence number, or the length byte for the scriptSig. It also uses 65 bytes for the public key (which is correct if it is uncompressed, but compressed keys of 33 bytes are more common now). Correcting...
Bitcoin News / Bitcoin Stack Exchange - 8 years ago
I want to call chainActive.Tip()->nHeight in core.cpp. It is not possible, I am interested in every idea.
https://github.com/LIMXTEC/BitSend/blob/DEV-joshafest/src/core.cpp
Here is an example :
bool GetH()
{ int nBlockHeight = chainActive....
Bitcoin News / Bitcoin Stack Exchange - 8 years ago
transactions - Smart contracts in bitcoin - Bitcoin Stack Exchange
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a m...
Bitcoin News / Bitcoin Stack Exchange - 9 years ago
To add to Claris' answer something that confused me in the empty scriptPubKey case that was explained to me on IRC this week.
None of the explicitly defined output types thus far (P2PK, P2PKH, P2SH, P2WPKH, P2WSH, P2SH-P2WPKH, P2SH-P2WSH, P2TR) can...