[bitcoin-dev] Few questions regarding ListTransaction

2018-04-10 Thread Maksim Solovjov via bitcoin-dev
Hi, I have few questions regarding ListTransaction RPC call and I hope you can help me. Documentation for the RPC call is here: https://bitcoin.org/en/developer-reference#listtransactions 1. What does it mean for a transaction ( with 0 confirmations ) to be *trusted* or not? There is such field i

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-10 Thread Joseph Gleason ⑈ via bitcoin-dev
2) -1 doesn't mean conflicted, it means the transaction is not only unconfirmed buy depends on another unconfirmed transaction. 1) Depends on what you mean by trusted. If you are giving the user online access to something that costs you next to nothing to revoke if there is a problem later, no pr

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-10 Thread Karl-Johan Alm via bitcoin-dev
On Wed, Apr 11, 2018 at 5:29 AM, Maksim Solovjov via bitcoin-dev wrote: > 1. What does it mean for a transaction ( with 0 confirmations ) to be > trusted or not? It is trusted if (1) it is final (i.e. it can't be replaced), (2) it is not in a block that was reorged out (negative confirmation coun

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-10 Thread Karl-Johan Alm via bitcoin-dev
Clarification on one part below: On Wed, Apr 11, 2018 at 2:21 PM, Karl-Johan Alm wrote: > On Wed, Apr 11, 2018 at 5:29 AM, Maksim Solovjov via bitcoin-dev > wrote: >> 1. What does it mean for a transaction ( with 0 confirmations ) to be >> trusted or not? > > It is trusted if (1) it is final (i.

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread Peter Todd via bitcoin-dev
On Wed, Apr 11, 2018 at 02:22:42PM +0900, Karl-Johan Alm via bitcoin-dev wrote: > Clarification on one part below: > > On Wed, Apr 11, 2018 at 2:21 PM, Karl-Johan Alm > wrote: > > On Wed, Apr 11, 2018 at 5:29 AM, Maksim Solovjov via bitcoin-dev > > wrote: > >> 1. What does it mean for a transact

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread Karl-Johan Alm via bitcoin-dev
On Wed, Apr 11, 2018 at 4:52 PM, Peter Todd wrote: > Or via full replace-by-fee, which appears to be used by a significant minority > of miners: I was of the impression that final transactions (sequence=0x) cannot be RBF'd. ___ bitcoin-dev maili

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread Peter Todd via bitcoin-dev
On Wed, Apr 11, 2018 at 05:10:43PM +0900, Karl-Johan Alm wrote: > On Wed, Apr 11, 2018 at 4:52 PM, Peter Todd wrote: > > Or via full replace-by-fee, which appears to be used by a significant > > minority > > of miners: > > I was of the impression that final transactions (sequence=0x) > c

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread Karl-Johan Alm via bitcoin-dev
Thanks for clarifying! On Wed, Apr 11, 2018 at 6:48 PM, ZmnSCPxj wrote: > Good morning Karl-Johan Alm, > > To clarify: > > Nothing prevents a miner from completely ignoring nSequence when putting > transactions in blocks. > > Unconfirmed transactions are, by definition, not recorded in blocks.

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread ZmnSCPxj via bitcoin-dev
Good morning Karl-Johan Alm, To clarify: Nothing prevents a miner from completely ignoring nSequence when putting transactions in blocks. Unconfirmed transactions are, by definition, not recorded in blocks. So if there is a transaction 0xFFF nSequence and fee 1000 satoshi, and another co

Re: [bitcoin-dev] Few questions regarding ListTransaction

2018-04-11 Thread Maksim Solovjov via bitcoin-dev
OK. Thank you guys for clarification. On Wed, Apr 11, 2018 at 1:00 PM, Karl-Johan Alm via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Thanks for clarifying! > > On Wed, Apr 11, 2018 at 6:48 PM, ZmnSCPxj wrote: > > Good morning Karl-Johan Alm, > > > > To clarify: > > > > Nothin