< benthecarman>
Can someone point me to a good source to learn about p2sh
< sipa>
bip16
< hidden>
ReserveKeyFromKeyPool: unknown key in key pool (code -1) :(
< phantomcircuit>
sipa, why have a bunch of functions that modify a struct instead of a class?
< sipa>
phantomcircuit: wut?
< phantomcircuit>
the rng stuff
< sipa>
i don't understand
< sipa>
you mean why is RNGState a struct and not a class?
< phantomcircuit>
yes
< sipa>
you know what the difference is between the two?
< phantomcircuit>
like AddDataToRng could be a method instead of calling GetRNGState
< sipa>
sure
< phantomcircuit>
sipa, public/private default, but i meant more the style change that typically happens with a class
< sipa>
maybe i should make the internal state orivate
< sipa>
*private
< sipa>
that seems like a nice guarantee anyway
< sipa>
to avoid bugs that accidentally wipe the state
< gmaxwell>
can the state get stored in the mlocked pool, or is there some initalization order issue there.
< sipa>
that's actually pretty doable
< sipa>
done
< sipa>
that was surprisingly easy
< wumpus>
we should probably restart the discussion about wallet recovery at some point #10540 #8745 #10991 it kind of bled out
< gribble>
https://github.com/bitcoin/bitcoin/issues/10540 | [WIP] Salvage wallet should not set the aggressive flag on Db::verify() by jnewbery · Pull Request #10540 · bitcoin/bitcoin · GitHub
< instagibbs>
I've been mostly paying attention to HWI sorry :X
< achow101>
same
< meshcollider>
I've got to address a few comments there, and split up one of the commits
< jnewbery>
I think might still be some rebase issues with 14491. I commented in the PR
< meshcollider>
I'm travelling for the next few days unfortunately so I'm not sure how soon I'll have time
< jnewbery>
I might have some time next week to try to rearrange the commits
< instagibbs>
open Q I brought up in HWI: You cannot actually import two addresses if the wall already "understands the script" and then it complains about private keys. Is that an intentional limitation?
< instagibbs>
say first one is native segwit
< instagibbs>
second is p2sh wrapped, it doesn't let you import the second
< instagibbs>
is this just a Core thingy we'll wait until "new wallet" to fix?
< * instagibbs>
finding the exact test case I ran into and had to work around
< meshcollider>
Is it a case of the wallet saying it already contains the script