kevkevin has quit [Read error: Connection reset by peer]
the_mariner has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Read error: Connection reset by peer]
the_mariner has quit [Ping timeout: 260 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 268 seconds]
the_mariner has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 256 seconds]
Guest22 has joined #bitcoin-core-dev
Guest22 has quit [Client Quit]
jon_atack has quit [Ping timeout: 255 seconds]
jonatack has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 255 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 256 seconds]
Guyver2 has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
puchka has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
Guyver2 has quit [Read error: Connection reset by peer]
Guyver2 has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
pablomartin has joined #bitcoin-core-dev
Lockesmith has quit [Ping timeout: 255 seconds]
Lockesmith has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
puchka has quit [Ping timeout: 276 seconds]
the_mariner has quit [Ping timeout: 268 seconds]
pablomartin4btc has joined #bitcoin-core-dev
pablomartin has quit [Ping timeout: 268 seconds]
jonatack has joined #bitcoin-core-dev
Guyver2 has left #bitcoin-core-dev [Closing Window]
cotsuka has quit [Remote host closed the connection]
the_mariner has joined #bitcoin-core-dev
cotsuka has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 246 seconds]
jonatack has quit [Ping timeout: 256 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
pablomartin4btc has quit [Ping timeout: 264 seconds]
pablomartin4btc has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 256 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
lbia has quit [Quit: lbia]
lbia has joined #bitcoin-core-dev
pablomartin4btc has quit [Ping timeout: 256 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 268 seconds]
AaronvanW has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
<PaperSword>
Question: Currently I am trying out the new submitpackage to test if a TX is consensus valid. The array size is one TX. I get this response.
<PaperSword>
package topology disallowed. not child-with-parents or parents depend on each other.
<PaperSword>
The prevouts are currently mined into a block.
<PaperSword>
Here is my current RPC command for anyone that would be interested.
<sipa>
mempool policy is strictly stricter than consensus
<PaperSword>
with 100% coverage?
<sipa>
yes
<PaperSword>
Okay thank you.
<sipa>
the mempool _always_ consists of transactions that would be valid to include in the next block (but not all at once, obviously)
<PaperSword>
Deeper down the rabbit hole why world submit package care to validate against consensus then if mempool acceptance would already be a pass.
Talkless has quit [Quit: Konversation terminated!]
<sipa>
in the code "policy" is just the things that aren't consensus, we're not going to validate it twice
<PaperSword1>
yeah, correct so policy is a subset of consensus?
the_mariner has joined #bitcoin-core-dev
<sipa>
no
<PaperSword1>
oh :( sorry for not understanding.
<sipa>
consensus rules are a subset of acceptance rules
<sipa>
policy rules are another subset
PaperSword has quit [Ping timeout: 276 seconds]
PaperSword1 is now known as PaperSword
<sipa>
when you say "mempool policy" it can refer to "just the non-consensus policy rules", or it can refer to "the combined set of all rules that are necessary to enter the mempool" (which includes consensus rules too)
<PaperSword>
Consensus Rules = The set of rules that would constitute valid bitcoin
<PaperSword>
Policy Rules = The set of rules the node has to determine what set of txs it accepts into it's mempool
<PaperSword>
Following that logic... Acceptance rules are?
<PaperSword>
"when you say "mempool policy" it can refer to "just the non-consensus policy rules", or it can refer to "the combined set of all rules that are necessary to enter the mempool" (which includes consensus rules too)"
<PaperSword>
TY
<sipa>
but these are implementation details
the_mariner has quit [Ping timeout: 256 seconds]
<sipa>
if you want the actual semantics... there are rules that are neccesary to be valid in a block (the consensus rules), and the rules to enter the mempool (which are a strict superset of those)
<PaperSword>
yep :D
<PaperSword>
Because the policy set is smaller than the consensus set, I never have to worry about my hashpower working on an invalid template
<sipa>
indeed
<PaperSword>
Thank you so much! For the sake of semantics, what are acceptance rules? I have never heard that term before.
<sipa>
just informally... the rules necessary for a transaction to enter the mempool
<PaperSword>
Does acceptance == policy?
<sipa>
that depends on whether by "policy" you mean to include consensus rules or not
<sipa>
policy is generally pretty vague
<PaperSword>
I assume policy would include consensus since anything that is not consensus would not be of value.
<sipa>
this is just a semantics discussion
<PaperSword>
correct, sorry to take up time
<sipa>
if by "policy" you mean "all the rules necessary to enter the mempool", then yes, acceptance == policy
<sipa>
if by "policy" you mean "the rules that nodes are free to pick their own", then no, acceptance == policy + consensus
<PaperSword>
I see what you mean, this also helps me understand what the /policy dir is for better
<sipa>
what's in that directory is pretty narrow
<sipa>
for example, resource limits (like standard transaction sizes) are in validation
<sipa>
and script upgradability rules are in script
<sipa>
(neither of which are consensus)
<PaperSword>
correct, I am going to think about this a little deeper while I work. Thanks so much again for you time and help.
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 264 seconds]
the_mariner has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 256 seconds]
brunoerg has quit [Ping timeout: 276 seconds]
___nick___ has quit [Ping timeout: 260 seconds]
the_mariner has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
brunoerg has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
pablomartin4btc has joined #bitcoin-core-dev
Guest36 has joined #bitcoin-core-dev
Guest36 has quit [Client Quit]
the_mariner has quit [Ping timeout: 246 seconds]
vysn has quit [Remote host closed the connection]
AaronvanW has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
meshcollider has quit [Ping timeout: 256 seconds]
brunoerg has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 264 seconds]
the_mariner has quit [Ping timeout: 264 seconds]
meshcollider has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
PaperSword has quit [Ping timeout: 264 seconds]
AaronvanW has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 255 seconds]
AaronvanW has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
PaperSword has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
the_mariner has joined #bitcoin-core-dev
aleggg has joined #bitcoin-core-dev
the_mariner has quit [Ping timeout: 255 seconds]
dikiy__ has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
aleggg has quit [Remote host closed the connection]