Skip to main content

Questions tagged [standard]

Dealing with standardization of Bitcoin-related topics, such as terminology or protocol.

Filter by
Sorted by
Tagged with
1 vote
2 answers
129 views

Why were custom scripts made non-standard except if they're P2SH?

Custom script = nonstandard P2SH custom script = standard Why don't we set non-p2sh custom scripts standard too? Forcing P2SH requires adding hashes to the chain causing more bloating
MCCCS's user avatar
  • 10.2k
1 vote
1 answer
172 views

Transaction Output Order

Suppose I generate a transaction with 5 outputs. Is there a deterministic way to know how the outputs will be ordered on chain (their .n values) or will they simply appear in the order in which I ...
Albert Renshaw's user avatar
2 votes
1 answer
449 views

Maximum standard input script size

What is the maximum size for an input script so to be considered standard ? Looking at the Bitcoin Core source code it appears to be 10'000 byte, however reading here and there, it appears to be 1650 ...
Daniele's user avatar
  • 45
7 votes
1 answer
870 views

What are the standard formats of transaction outputs?

A transaction output can have the type Pay to public key hash, P2PKH, where the ScriptPubKey field has the format: 76 a9 14 <20-byte hash of pubkey> 88 ac Pay to script hash, P2SH, used for e.g. ...
Thorkil Værge's user avatar
1 vote
1 answer
82 views

How do hardware wallets integrate with software clients/nodes?

It isn't clear to me how hardware wallets interact with software clients. Is there a standard defined for this? Is it similar to signing on an offline computer and then transmitting a signed message ...
kbyrd's user avatar
  • 123
1 vote
2 answers
271 views

Is there a maximum amount of money a transaction can handle?

Apart from the limited transaction size in MB, which theoretically limits the maximum amount of money a transaction can handle, is there any standardized bound?
Carlos Pinzón's user avatar
7 votes
1 answer
1k views

What is the canonical way of creating merkle tree branches?

I'm currently looking into creating some compact merkle tree branches to prove that a given hash was included in a given merkle root. My initial thought was to list the leaf, the merkle root and all ...
ThePiachu's user avatar
  • 43.2k
2 votes
2 answers
421 views

Where is the code making OP_RETURN a standard transaction type?

I am looking through the bitcoin github history. I am trying to find the commit where OP_RETURN became accepted as a standard tx. This was included in the changelog for Bitcoin Core 0.90. Any help ...
Matthew Darnell's user avatar
1 vote
1 answer
357 views

Why are non-final transactions considered non-standard?

In IsStandardTx within main.cpp, there is a comment: // Treat non-final transactions as non-standard to prevent a specific type // of double-spend attack, as well as DoS attacks. (if the transaction ...
morsecoder's user avatar
  • 14.2k
1 vote
0 answers
148 views

Standardize wallet format [closed]

What's the status of wallet format standardization? Is there any proposal or work-in-progress around? If not, how come nobody urges to define standard wallet formats yet? This is especially needed ...
keeshux's user avatar
  • 386
9 votes
5 answers
6k views

Plain text for the Bitcoin symbol

It seems that the most widely used symbol for Bitcoin is a B with two vertical lines through it1. It makes sense, as a single letter with a line or two through it is common for many currencies. Is ...
user avatar
7 votes
2 answers
6k views

How to sign a message using Bitcoin private key?

How does one create a proper signature for a given message using Bitcoin private keys? I have an input address of 5JeWZ1z6sRcLTJXdQEDdB986E6XfLAkj9CgNE4EHzr5GmjrVFpf or ...
ThePiachu's user avatar
  • 43.2k
0 votes
1 answer
291 views

What is the difference between ledger_hash and ledger_index in Ripple?

In rippled's API, for example in account_info, we can see that ledger_hash and ledger_index are different from one another. ledger_hash is just a hash of the ledger. However, in this graphic we can ...
ThePiachu's user avatar
  • 43.2k
8 votes
1 answer
3k views

Why is Ripple's base58 alphabet so weird?

In this answer I found out that Ripple uses a different base58 alphabet from Bitcoin. There aren't many materials on what that alphabet is, but I managed to find this reference: The base58 ...
ThePiachu's user avatar
  • 43.2k
0 votes
1 answer
1k views

In Ripple, what exactly is "Hash256"?

In various places on Ripple Wiki we can see the type Hash256 (for example here). What data structure is it exactly? Is it just a 256 byte array, or are there some rules governing this type (and ...
ThePiachu's user avatar
  • 43.2k
24 votes
2 answers
15k views

Bitcoin URL scheme

What is the URL scheme that is used by Bitcoin to copy transaction information directly into the client? Which versions of Bitcoin clients support it?
ThePiachu's user avatar
  • 43.2k
6 votes
1 answer
336 views

Bitcoin Best Practices by the Bitcoin Foundation

The Bitcoin Foundation's Executive Director, Peter Vessenes, in his open letter states that the Foundation is aiming to Publish a set of best practices for businesses transacting in Bitcoin, ...
ThePiachu's user avatar
  • 43.2k
10 votes
2 answers
6k views

Is the value of "satoshi" fixed or dynamic?

BitCoin Wiki (Transactions) states: ...1 BTC = 100,000,000 Satoshi... Yet BitCoin Wiki (FAQ) states: ..."satoshi"... is smallest denomination currently possible In the future when the protocol ...
Pacerier's user avatar
  • 2,105
8 votes
5 answers
3k views

Which programming languages support secp256k1?

Which programming languages have some ready libraries that support Bitcoin's ECDSA curve - secp256k1?
ThePiachu's user avatar
  • 43.2k
3 votes
1 answer
267 views

Bitcoin Dictionary

Is there a website that aggregates all technical and jargon terms used by the Bitcoin community? In other words, is there some compact reference guide that could serve as a "Bitcoin Dictionary"?
ThePiachu's user avatar
  • 43.2k
6 votes
1 answer
1k views

Script - OP_PUSHDATAs

When using OP_PUSHDATAs in different Scripts, how are the next bytes denoting the amount of bytes to be pushed encoded? Are they to be treated as unsigned integer, or signed (like the data that is ...
ThePiachu's user avatar
  • 43.2k
5 votes
1 answer
1k views

Version field in transactions, blocks, etc

A field labelled "version" appears in many contexts regarding the Bitcoin protocol. Sometimes one uses the current version of the Bitcoin client (version message), sometimes 1 is used (block, tx), why ...
ThePiachu's user avatar
  • 43.2k
24 votes
4 answers
10k views

Why does the Bitcoin protocol use the little-endian notation?

Why does the Bitcoin use the litte-endian notation? It is less common than big-endian notation, thus when programming low-level applications working with Bitcoin protocol, one quite often has to ...
ThePiachu's user avatar
  • 43.2k
3 votes
2 answers
80 views

Where should one suggest new terminology?

What is the proper place to suggest Bitcoin-related terminology that one believes should be used by the community? For example, when one wants to standardise some terms people use to describe ...
ThePiachu's user avatar
  • 43.2k
10 votes
4 answers
487 views

What is the collective name for Bitcoin, Namecoin, etc?

Is there some standard term to describe all Bitcoin-like internet currencies, like Solidcoin, Namecoin and so forth? Like "currency" is to dollar, euro, yen, etc?
ThePiachu's user avatar
  • 43.2k
219 votes
21 answers
96k views

What is a good way to concisely explain Bitcoin?

Often I'm asked to explain Bitcoin to someone and occasionally I come up with something stellar that really nails it, but most times it's a rambling incoherent mess. What I would like to see is a ...
Gary's user avatar
  • 7,603