Guyver2 has left #bitcoin-core-dev [Closing Window]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has quit [Ping timeout: 245 seconds]
AaronvanW has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has quit [Ping timeout: 260 seconds]
javi404 has quit [Ping timeout: 246 seconds]
javi404 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
vasild has joined #bitcoin-core-dev
test_ has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
flooded has quit [Ping timeout: 252 seconds]
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
Guest47 has joined #bitcoin-core-dev
greypw2546002161 has quit [Quit: I'll be back!]
greypw2546002161 has joined #bitcoin-core-dev
Guest47 has quit [Client Quit]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
conman has quit [Quit: Konversation terminated!]
andrew_mo_ has joined #bitcoin-core-dev
vyHamii has joined #bitcoin-core-dev
vyHamii has quit [Client Quit]
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 248 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has quit [Ping timeout: 240 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
jonatack1 has joined #bitcoin-core-dev
jon_atack has quit [Read error: Connection reset by peer]
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
DarrylTheFish has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
DarrylTheFish has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
flooded has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
test_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
benwestgate1 has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
benwestgate has joined #bitcoin-core-dev
ZeroMaster has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
DarrylTheFish has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
vasild has quit [Remote host closed the connection]
andrew_mo_ has quit [Ping timeout: 240 seconds]
vasild has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
preimage has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
zhejyan has joined #bitcoin-core-dev
zhejyan_ has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
bugs_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
Nekorand has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
DarrylTheFish has quit [Remote host closed the connection]
DarrylTheFish has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
jamesob443688173 has quit [Ping timeout: 252 seconds]
jamesob has quit [Ping timeout: 248 seconds]
dviola has quit [Quit: WeeChat 4.0.4]
nanotube has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
jamesob443688173 has joined #bitcoin-core-dev
jamesob has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
Nekorand_b has joined #bitcoin-core-dev
Nekorand has quit [Ping timeout: 246 seconds]
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
Talkless has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
AaronvanW has quit [Quit: Leaving...]
achow101 has quit [Remote host closed the connection]
Guest64 has joined #bitcoin-core-dev
Guest64 has quit [Client Quit]
Guest64 has joined #bitcoin-core-dev
Guest64 has quit [Client Quit]
lowhope_ has quit [Remote host closed the connection]
lowhope_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
achow101 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
jamesob443688173 has quit [Ping timeout: 250 seconds]
jamesob has quit [Ping timeout: 258 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
jamesob has joined #bitcoin-core-dev
jamesob443688173 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
Talkless has quit [Quit: Konversation terminated!]
DarrylTheFish has quit [Ping timeout: 258 seconds]
bugs_ has quit [Quit: Leaving]
Nekorand_b has quit [Ping timeout: 252 seconds]
DarrylTheFish has joined #bitcoin-core-dev
preimage has quit [Quit: WeeChat 4.0.3]
Guest66 has joined #bitcoin-core-dev
Guest66 has quit [Quit: Client closed]
andrew_mo_ has quit [Remote host closed the connection]
<PaperSword>
I have a script 4104124b212f5416598a92ccec88819105179dcb2550d571842601492718273fe0f2179a9695096bff94cd99dcccdea7cd9bd943bfca8fea649cac963411979a33e9ac which is p2pk, witch a 65 bytes + 1 op_code byte, the 0x41 at the front represents a big endian size of the pubkey that follows. Does this mean the max size is 0xFF or is there a way to be able to push more bytes?
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
DarrylTheFish has quit [Remote host closed the connection]
Saloframes has quit [Quit: Leaving]
andrew_mo_ has joined #bitcoin-core-dev
<PaperSword>
Solved it thanks to rijndael, followup does consnesus check for any length limits on pubkeys?
<PaperSword>
Can someone if they made a block for an OP_PUSHDATA4 (pubkey_len + pubkey_data) OP_CHECKSIG
nanotube has joined #bitcoin-core-dev
<achow101>
PaperSword: "limits" are applied when parsing a stack item during execution of the OP_CHECKSIG
<achow101>
i.e. if it doesn't parse, then it fails
<PaperSword>
Yeah so that would mean creating a 255 byte pubkey should be possible with OP_PUSHDATA1
<achow101>
it wouldn't be a pubkey
<PaperSword>
valid pubkey right?
<PaperSword>
I would still be checked by OP_CHECKSIG as one
<achow101>
sure, and it wouldn't be able to parse it
<PaperSword>
It*, and it woud fail! Thus being unspendable!
<PaperSword>
I have been pruning out P2PKs with invalid pubkeys using isFullyValid() and am finding some that are too short and too long.
<PaperSword>
as such my question then became how long of a 'pubkey' could I create as a part of a p2pk style script.
<achow101>
the limit is the just under the script size limit
<PaperSword>
Yep! As such that should be the first check in isUnspenable() followed by any conditions which are currently just OP_RETURN
<PaperSword>
Thanks for that help! I have leanred so much from this experiment.
<PaperSword>
Followup Q, is there a nice function that converts the LE bytes following a OP_PUSHDATA to am size_t?
<PaperSword>
Sorry for my language, I would also accept a mean function too.
Randolf has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]