Bitcoin Forum
May 27, 2024, 01:18:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 [82] 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 ... 447 »
1621  Local / Italiano (Italian) / Re: problema commissioni Blockchain wallet on: December 01, 2016, 01:03:05 PM
Si basano probabilmente sul calcolo automatico fornito da Bitcoin Core, che è spesso sballato.

Oppure la tua transazione è il risultato di molte altre, magari perchè fa uso di faucet o simil, e quindi viene fuori un calcolo di tanti kb per via di tutti gli indirizzi che usi.
1622  Bitcoin / Development & Technical Discussion / Flexible Transactions - BIP134 on: December 01, 2016, 11:57:39 AM
I'm not the author
https://github.com/bitcoin/bips/blob/master/bip-0134.mediawiki
This is an alternative to SegWit, with hard fork.

Video: https://vimeo.com/193595931


Quote
BIP: 134
Title: Flexible Transactions
Author: Tom Zander <tomz@freedommail.ch>
Status: Draft
Type: Standards Track
Created: 2016-07-27



==Abstract==
This BIP describes the next step in making Bitcoin's most basic element,
the transaction, more flexible and easier to extend. At the same time this
fixes all known cases of malleability and resolves significant amounts of
technical debt.


==Summary==
Flexible Transactions uses the fact that the first 4 bytes in a transaction
determine the version and that the majority of the clients use a
non-consensus rule (a policy) to not accept transaction version numbers
other than those specifically defined by Bitcoin.
This BIP chooses a new version number, 4, and defines that the data
following the bytes for the version is in a format called Compact Message
Format (CMF). CMF is a flexible, token based format where each token is a
combination of a name, a format and a value. Because the name is added we
can skip unused tokens and we can freely add new tokens in a simple manner
in future. Soft fork upgrades will become much easier and cleaner this
way.

This protocol upgrade cleans up past soft fork changes like BIP68 which
reuse existing fields and do them in a better to maintain and easier
to parse system. It creates the building blocks to allow new features to be
added much cleaner in the future.

It also shows to be possible to remove signatures from transactions with
minimal upgrades of software and still maintain a coherent transaction
history. Tests show that this can reduce space usage to about 75%.


==Motivation==
After 8 years of using essentially the same transaction version and layout
Bitcoin is in need of an upgrade and lessons learned in that time are
taking into account when designing it.  The most important detail is that
we have seen a need for more flexibility.  For instance when the 'sequence'
fields were introduced in the old transaction format, and later deprecated
again, the end result was that all transactions still were forced to keep
those fields and grow the blockchain while they all were set to the default
value.

The way towards that flexibility is to use a generic concept made popular
various decades ago with the XML format. The idea is that we give each
field a name and this means that new fields can be added or optional fields
can be omitted from individual transactions. Some other ideas are the
standardization of data-formats (like integer and string encoding) so
we create a more consistent system.  
One thing we shall not inherit from XML is its text-based format. Instead
we use the [https://github.com/bitcoinclassic/documentation/blob/master/spec/compactmessageformat.md Compact Message Format]
(CMF) which is optimized to keep the size small and fast to parse.

Token based file-formats are not new, systems like XML and HTMl use a
similar system to allow future growth and they have been quite successful
for decades in part because of this property.

Next to that this protocol upgrade will re-order the data-fields which
allows us to cleanly fix the malleability issue which means that future
technologies like Lightning Network will depend on this BIP being deployed.

At the same time, due to this re-ordering of data fields, it becomes very
easy to remove signatures from a transaction without breaking its tx-id,
which is great for future pruning features.


=== Features ===
* Fixes malleability
* Linear scaling of signature checking
* Very flexible future extensibility
* Makes transactions smaller
* Supports the Lightning Network

Additionally, in the v4 (flextrans) format we add the support for the
following proofs;
* input amount.  Including the amount means we sign this transaction only if the amount we are spending is the one provided. Wallets that do not have the full UTXO DB can safely sign knowing that if they were lied to about the amount being spent, their signature is useless.
* scriptBase is the combined script of input and output, without signatures naturally.  Providing this to a hardware wallet means it knows what output it is spending and can respond properly. Including it in the hash means its signature would be broken if we lied..
* Double spent-proof.  Should a node detect a double spent he can notify his peers about this fact. Instead of sending the entire transactions, instead he sends only a proof.  The node needs to send two pairs of info that proves that in both transactions the CTxIn are identical.

=== Tokens ===
In the compact message format we define tokens and in this specification we
define how these tokens are named, where they can be placed and which are
optional.  To refer to XML, this specification would be the schema of
a transaction.

[https://github.com/bitcoinclassic/documentation/blob/master/spec/compactmessageformat.md CMF]
tokens are triplets of name, format (like PositiveInteger) and value.
Names in this scope are defined much like an enumeration where the actual
integer value (id, below) is equally important to the written name.
If any token found that is not covered in the next table it will make the
transaction that contains it invalid.

{| class="wikitable"
|-
! Name !! id !! Format !! Default Value !! Description
|-
|TxEnd              ||  0 ||BoolTrue ||   Required   ||A marker that is the end of the transaction
|-
|TxInPrevHash       ||  1 ||ByteArray||   Required   ||TxId we are spending
|-
|TxPrevIndex        ||  2 ||Integer  ||       0      ||Index in prev tx we are spending (applied to previous TxInPrevHash)
|-
|TxInputStackItem   ||  3 ||ByteArray||      &nbsp;  ||A 'push' of the input script
|-
|TxInputStackItemContinued||4||ByteArray||   &nsbp;       ||Another section for the same input
|-
|TxOutValue         ||  5 ||Integer  ||   Required   ||Amount of Satoshis to transfer
|-
|TxOutScript        ||  6 ||ByteArray||   Required   ||The output script
|-
|TxRelativeBlockLock||  7 ||Integer  ||   Optional   ||Part of the input stating the amount of blocks (max 0XFFFF) after that input was mined, it can be mined
|-
|TxRelativeTimeLock ||  8 ||Integer  ||   Optional   ||Part of the input stating the amount of time (max 0XFFFF) after that input was mined, it can be mined. 1 Unit is 512 seconds
|-
|CoinbaseMessage    ||  9 ||ByteArray||   Optional   ||A message and some data for a coinbase transaction. Can't be used in combination with any TxIn\* tags
|-
|NOP_1x             || 1x ||   &nbsp;||   Optional   ||Values that will be ignored by anyone parsing the transaction
|-
|}


=== Scripting changes ===
In Bitcoin transactions version 1, checking of signatures is performed by
various opcodes. The OP_CHECKSIG, OP_CHECKMULTISIG and their equivalents
that immediately VERIFY.  These are used to validate the cryptographic
proofs that users have to provide in order to spend outputs.

We additionally have some hashing-types in like SIGHASH_SINGLE that all
specify slightly different subsections of what part of a transaction will
be hashed in order to be signed.

For transactions with version 4 we calculate a sha256 hash for signing an
individual input based on the following content;

# If the hash-type is 0 or 1 we hash the tx-id of the transaction. For other hash types we selectively ignore parts of the transaction exactly like it has always worked. With the caveat that we never serialize any signatures.
# the TxId of the transaction we are spending in this input.
# the index of output of the transaction we are spending in this input.
# the input script we are signing (without the signature, naturally).
# the amount, as a var-int.
# the hash-type as a var-int.


=== Serialization order===
To keep in line with the name Flexible Transactions, there is very little
requirement to have a specific order. The only exception is cases where
there are optional values and reordering would make unclear what is meant.

For this reason the TxInPrevHash always has to be the first token to start
a new input. This is because the TxPrevIndex is optional. The tokens
TxRelativeTimeLock and TxRelativeBlockLock are part of the input and
similarly have to be set after the TxInPrevHash they belong to.

Similarly, the TxInputStackItem always has to be the first and can be
followed by a number of TxInputStackItemContinued items.

At a larger scope we define 3 sections of a transaction.

{| class="wikitable"
!Segment !! Tags !! Description
|-
|Transaction||all not elsewhere used||This section is used to make the TxId
|-
|Signatures||TxInputStackItem, TxInputStackItemContinued||The input-proofs
|-
|TxEnd||TxEnd||&nbsp;
|}

The TxId is calculated by taking the serialized transaction without the
Signatures and the TxEnd and hashing that.

TxEnd is there to allow a parser to know when one transaction in a stream
has ended, allowing the next to be parsed.


=== Block-malleability ===
The effect of leaving the signatures out of the calculation of the
transaction-id implies that the signatures are also not used for the
calculation of the merkle tree.  This means that changes in signatures
would not be detectable and open an attack vector.

For this reason the merkle tree is extended to include (append) the hash of
the v4 transactions. The markle tree will continue to have all the
transactions' tx-ids but appended to that are the v4 hashes that include the
signatures as well.  Specifically the hash is taken over a data-blob that
is built up from:

# the tx-id
# The entire bytearray that makes up all of the transactions signatures.  This is a serialization of all of the signature tokens, so the TxInputStackItem and TxInputStackItemContinued in the order based on the inputs they are associated with.


=== Future extensibility ===
The NOP_1x wildcard used in the table explaining tokens is actually a list
of 10 values that currently are specified as NOP (no-operation) tags.

Any implementation that supports the v4 transaction format should ignore
this field in a transaction. Interpreting and using the transaction as if
that field was not present at all.

Future software may use these fields to decorate a transaction with
additional data or features. Transaction generating software should not
trivially use these tokens for their own usage without cooperation and
communication with the rest of the Bitcoin ecosystem as miners certainly
have the option to reject transactions that use unknown-to-them tokens.

The amount of tokens that can be added after number 19 is practically
unlimited and they are currently specified to not be allowed in any
transaction and the transaction will be rejected if they are present.
In the future a protocol upgrade may chance that and specify meaning for
any token not yet specified here. Future upgrades should thus be quite a
lot smoother because there is no change in concepts or in format. Just new
data.


==Backwards compatibility ==
Fully validating older clients will not be able to understand or validate
version 4 transactions and will need to be updated to restore that ability.

SPV (simple payment validation) wallets need to be updated to receive or
create the new transaction type.

This BIP introduces a new transaction format without changing or
deprecating the existing one or any of its practices. Therefore it is
backwards compatible for any existing data or parsing-code.


==Reference Implementation==
Bitcoin Classic includes an implementation that is following this spec.
The spec-author rejects the notion of reference implementation. The
specification is always authoritative, the implementation is not.

The official spec can be found at;
https://github.com/bitcoinclassic/documentation/blob/master/spec/transactionv4.md


==Deployment==
To be determined


==References==
[https://github.com/bitcoinclassic/documentation/blob/master/spec/compactmessageformat.md] CMF


==Copyright==
Copyright (c) 2016 Tom Zander <tomz@freedommail.ch>

This document is dual-licensed under the Creative-Commons BY-SA license v4.0
and the Open Publication License v1.0 with the following licence-options:

Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.
Distribution of the work or derivative of the work in any standard (paper) book form is prohibited unless prior permission is obtained from the copyright holder.
1623  Bitcoin / Development & Technical Discussion / Re: Pessimistic outcome: segwit won't be activated on: December 01, 2016, 11:52:48 AM
There is another proposal that gives the possibility for LN

Flexible Transactions
https://github.com/bitcoin/bips/blob/master/bip-0134.mediawiki
1624  Bitcoin / Project Development / Re: tlsnotary - cryptographic proof of fiat transfer for p2p exchanges on: December 01, 2016, 11:16:54 AM
It isn't working currently.
Is there anyone that can run an alternative?
1625  Local / Italiano (Italian) / Re: Lakebtc.com - Fare LakeBanker: Guadagnare qualche soldino come intermediario on: December 01, 2016, 11:00:29 AM
Non sono ancora utente di tipo LakeBanker.
1626  Bitcoin / Development & Technical Discussion / Re: How to destroy Bitcoin with a 10% attack: Roadmap for a Central Bank Takeover on: December 01, 2016, 05:14:44 AM
Miners aren't working for free.
Even with an unlimited blocksize all the miners will try to get as much possible as they can, by limiting them self the blocks as they did until now.

If there is a state/central bank that starts to mine blocks by accepting even free tx, then they are going to lose money on the long run, and they'll need to inflate their currency to maintain this status.

This will then make bitcoin more valuable. (so the other miners will be even richer, as the holders ...)
You will see all the population moving from the fiat currency to bitcoin, until even the energy will be preferred to be sold in exchange of bitcoin instead of fiat currency Smiley

I don't think that we will never arrive to the last step, this "attack" idea will break way before...
1627  Local / Italiano (Italian) / Re: Bitcoin forks - Versioni con supporto blocchi di dimensione superiore a 1MB on: November 30, 2016, 11:36:58 PM
Bitcoin Classic is Back!
https://www.reddit.com/r/btc/comments/5fswjx/bitcoin_classic_is_back/
https://vimeo.com/193595931
1628  Local / Italiano (Italian) / Re: Bitcoin forks - Versioni con supporto blocchi di dimensione superiore a 1MB on: November 30, 2016, 09:34:31 PM
Tendenzialmente sono molto più incline a vederla come un azienda/società privata, comunque mai niente che si potrebbe indicare come "pubblico".
I Bitcoin potremo vederli anche come azioni di questa società.

Se ci fosse una situazione dove tanto più ci si avvicinerebbe al "un voto vale uno" (cioè, democrazia), temo che la prima cosa che succederebbe sarebbe l'aumento dei 21M Cheesy

Dall'altra parte, spostandosi verso il voto in base alla quantità di azioni (cioè, tipo POS), il sistema probabilmente continuerebbe a funzionare, ma sarebbe più rischioso del POW per questi motivi:
- Non è detto che ci sia un grosso investimento iniziale (i soldi possono essere risultati di un furto/espropriazione, anche da parte di uno stato, vedi Silk Road)
- Sul POW, se c'è un problema con i miner, basta cambiare algo. di hashing. Sul POS se qualcosa va storto con degli holder, bloccare certe quantità di soldi dal poter votare è più difficile e controverso.
1629  Local / Italiano (Italian) / Re: Bitcoin forks - Versioni con supporto blocchi di dimensione superiore a 1MB on: November 30, 2016, 07:39:39 PM
Ma quindi se il mercato preferisce la cocacola invece della pepsi (esempio), vuol dire che ci troviamo in un oligarchia della cocacola?
Nono sono sicuro che oligarchia sia un termine giusto in questo caso, sempre dal fatto che nessuno è costretto ad usare Bitcoin.
1630  Economy / Exchanges / Re: 【LakeBTC.com】Bitcoin Exchange on: November 30, 2016, 08:33:11 AM
New feature
Quote
Dear User,

It's a function of the contact with LakeBanker, said accurately, it's walking ATM.

We launched the real P2P trade -  CASH https://www.lakebtc.com/deposits/new?currency=eur&source=cash, it use GPRS and Google Maps, someone submit a buy/sell request, his coordinates will appear on the map, and if someone LakeBanker were near, then the two of them can meet to deal. Because of this characteristic, this is also called "walking-ATM", anyone would like to exchange BTC to local currency, he can use CASH withdraw, then CASH banker will service him. Satisfy both sides, user avoid the complexity of banking procedures, users also earn a fee.

It's like Localbitcoins + exchange.

Anyway, I don't know the security of the exchange, I just like the idea Smiley
1631  Local / Italiano (Italian) / Re: Lakebtc.com - Fare LakeBanker: Guadagnare qualche soldino come intermediario on: November 30, 2016, 08:06:32 AM
Interessante aggiornamento:
Quote
Dear User,

It's a function of the contact with LakeBanker, said accurately, it's walking ATM.

We launched the real P2P trade -  CASH https://www.lakebtc.com/deposits/new?currency=eur&source=cash, it use GPRS and Google Maps, someone submit a buy/sell request, his coordinates will appear on the map, and if someone LakeBanker were near, then the two of them can meet to deal. Because of this characteristic, this is also called "walking-ATM", anyone would like to exchange BTC to local currency, he can use CASH withdraw, then CASH banker will service him. Satisfy both sides, user avoid the complexity of banking procedures, users also earn a fee.

Funzione appena uscita, bisogna vedere quanto si andrebbe a diffondersi.

Fa praticamente da concorrente a Localbitcoin, permette il ritiro e deposito sull'exchange tramite contanti.

Quindi indicando le coordinate si può sperare di individuare LakeBanker e dargli i contanti (o prenderli se si vuole ritirare)

Da notare però che diversamente da Localbitcoin, per essere Lakebanker bisogna fare prima una verifica di KYC sull'exchange.
1632  Local / Italiano (Italian) / Re: Bitcoin forks - Versioni con supporto blocchi di dimensione superiore a 1MB on: November 30, 2016, 08:03:18 AM
Da notare che comunque, l'incertezza della decisione c'è perchè il miner si ha potere decisionale, ma non può permettersi di sbagliare, perchè diversamente dalle monete fiat, le crittovalute non si possono imporre.
Ci sono altre 700 e passa alternative li fuori che non aspettano altro che prendere il posto del bitcoin Smiley
1633  Local / Italiano (Italian) / Re: [NEWS] In italiano - Raccolta di link dei media in lingua italiana on: November 30, 2016, 07:49:08 AM
Ottimo articolo su una cosa fondamentale che sfugge a molti Smiley

Cos’è la «Proof of work» e perché chiunque voglia parlare di Blockchain deve conoscerla
http://www.chefuturo.it/2016/11/cose-la-pow-e-perche-chiunque-voglia-parlare-di-blockchain-deve-saperlo-bene/
1634  Local / Italiano (Italian) / Re: [UTILE] Farsi pagare senza avere conti bancari o pagare tasse/bollette/terzi on: November 29, 2016, 01:38:34 PM
Quote
"We would like to inform you about changes to the registration process and our new fee policy.
We are implementing a revised Tier 1 verification for all new users. Before you can use the full functionality of Cashila, a deposit of between €1 -2 will be required from your personal bank account, in addition to the provision of a copy of a valid ID document. The deposit instructions will be generated by Cashila during the verification process. The deposited amount will be added to your Cashila balance.
From 1.12.2016, all Cashila transactions will be made through our new bank account. Please ensure you use the new IBAN when making deposits to Cashila otherwise the deposits will be returned to the sender. An additional fixed fee of €1.00 will be applied to all fiat deposits to Cashila.
Yours sincerely, the Cashila team"
Cashila ora richiede un deposito da un conto bancario per poter ricevere la verifica di primo livello di KYC.
Questo vuol dire che non è più un servizio per persone senza conto bancario.

Che cagata veramente ...
1635  Bitcoin / Development & Technical Discussion / Re: How to destroy Bitcoin with a 10% attack: Roadmap for a Central Bank Takeover on: November 28, 2016, 03:49:55 AM
Quote
Since the attacker is a central bank, they have access to unlimited resources.
Does this means that the bank is going to unlimited inflationate its currency? Wink

This will make the price of Bitcoin going higher and higher.

Maybe your roadmap doesn't work very well...
1636  Local / Italiano (Italian) / Re: [TOPIC UFFICIALE] Bitsquare.io - P2P Exchange - No AML/KYC! on: November 26, 2016, 04:58:03 AM
In una delle prossime versioni dovrebbe esserci la traduzione in italiano, certo chi vorrà potrà eventualmente migliorarla Wink

https://github.com/bitsquare/bitsquare/pull/706
1637  Local / Crittografia e decentralizzazione / Re: ZeroNet - Decentralized websites using Bitcoin crypto and the BitTorrent network on: November 25, 2016, 06:58:25 AM
Gruppo Facebook ita: https://www.facebook.com/groups/zeronetitalia/
1638  Bitcoin / Bitcoin Discussion / Re: wow ,almost 30,000 unconfirmed trans on: November 24, 2016, 02:35:18 PM
@Rinder
Nobody depends from Core, and the solution is already out Smiley
1639  Bitcoin / Bitcoin Discussion / Re: wow ,almost 30,000 unconfirmed trans on: November 24, 2016, 12:20:09 PM
@jubalix

https://hblok.net/storage_data/storage_memory_prices_large-_hblok.net_.png

2008.00 Jan18  NewEgg.com  ADATA  16GB Flash  74.98$
2016.58 Aug22  NewEgg.com  SanDisk  128GB Flash  25.99$
1640  Local / Italiano (Italian) / Re: [INFO] CARTE PREPAGATE - Anche ricaricabili con Bitcoin! on: November 24, 2016, 06:52:44 AM
In questo momento su Coinsbank
"Unique Black Friday deal - debit cards for 0.95 USD, EUR, GBP or 95 RUB including airmail delivery! Hurry up, order your card now!"
Pages: « 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 [82] 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 ... 447 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!