--- Log opened Sat Aug 22 00:00:56 2020 11:51 -!- gnusha [~gnusha@unaffiliated/kanzure/bot/gnusha] has joined #bitcoin-core-dev 11:51 -!- Topic for #bitcoin-core-dev: Bitcoin Core development discussion and commit log | This is the channel for developing Bitcoin Core. Feel free to watch, but please take commentary and usage questions to #bitcoin | Channel logs: http://www.erisian.com.au/bitcoin-core-dev/, http://gnusha.org/bitcoin-core-dev/ | Meeting topics https://gist.github.com/moneyball/071d608fdae217c2a6d7c35955881d8a 11:51 -!- Topic set by wumpus [~ircclient@pdpc/supporter/professional/wumpus] [Thu Dec 6 09:29:14 2018] 11:51 [Users #bitcoin-core-dev] 11:51 [ _0x0ff ] [ Dean_Guss ] [ hirish_ ] [ midnight ] [ schmidty ] 11:51 [ a5m0 ] [ dergoegge ] [ hsmiths ] [ mmitech__ ] [ sdaftuar ] 11:51 [ AaronvanW ] [ dermoth ] [ hugohn ] [ mol ] [ shesek ] 11:51 [ achow101 ] [ digi_james ] [ icota[m] ] [ moneyball ] [ shigeya ] 11:51 [ adam3us ] [ diogorsergio ] [ IGHOR ] [ morcos ] [ sipa ] 11:51 [ adiabat ] [ dkrm ] [ infernix ] [ Murch ] [ sipsorcery ] 11:51 [ afk11 ] [ dlb76 ] [ instagibbs ] [ murr4y ] [ so ] 11:51 [ ahmed_ ] [ dongcarl ] [ isis ] [ nanotube ] [ spinza ] 11:51 [ aj ] [ DougieBot5000 ] [ Isthmus ] [ nckx ] [ sr_gi ] 11:51 [ ajonas ] [ dqx ] [ Jackielove4u ] [ Nebraskka ] [ stackingcore21_ ] 11:51 [ alko89 ] [ dr-orlovsky ] [ jakesyl ] [ nehan ] [ stevenroose ] 11:51 [ amiti ] [ drbrule ] [ jamesob ] [ nejon ] [ sturles ] 11:51 [ Anduck ] [ dviola ] [ jb55 ] [ nickler ] [ takinbo ] 11:51 [ andytoshi ] [ Eagle[TM] ] [ JD2983 ] [ NicolasDorier ] [ Talkless ] 11:51 [ aqua42 ] [ earlz ] [ jeremyrubin ] [ niftynei ] [ TallTim ] 11:51 [ ariard ] [ elichai2 ] [ jkczyz ] [ niska ] [ TD-Linux ] 11:51 [ arik__ ] [ Eliel ] [ jnewbery ] [ nothingmuch ] [ thaumavorio ] 11:51 [ arowser ] [ Emcy ] [ jonasschnelli ] [ notmandatory ] [ TheFuzzStone[m] ] 11:51 [ asukan ] [ emzy ] [ jonatack ] [ nsh ] [ TheHoliestRoger ] 11:51 [ balbirs ] [ endogenic ] [ jrawsthorne ] [ nullptr_ ] [ TheRec ] 11:51 [ baldur ] [ ensign ] [ jrayhawk ] [ opsec_x12 ] [ TheV01d ] 11:51 [ berndj ] [ eragmus ] [ justanotheruser] [ ossifrage ] [ thrasher ] 11:51 [ BGL ] [ Eric3 ] [ justinmoon ] [ owowo ] [ thunderbiscuit[m] 11:51 [ bosma ] [ esotericnonsense] [ kakobrekla ] [ paracyst ] [ treyzania ] 11:51 [ brianhoffman ] [ Evel-Knievel ] [ kallewoof ] [ paultroon ] [ tripleslash ] 11:51 [ brikk ] [ fanquake ] [ kanzure ] [ pedromvprg ] [ tryphe_ ] 11:51 [ bsm117532 ] [ felixweis ] [ kcalvinalvin ] [ peltre ] [ twistedline ] 11:51 [ btc_thc ] [ fiatjaf ] [ kinlo ] [ phantomcircuit ] [ tynes ] 11:51 [ Bullit ] [ fjahr ] [ Landryl ] [ pierre_rochard ] [ valwal_ ] 11:51 [ cato_ ] [ frogar ] [ lesderid ] [ pingwindyktator] [ vasild ] 11:51 [ ccook ] [ Ga1aCt1Cz00 ] [ Lexyon___ ] [ pinheadmz ] [ vfP56jSe ] 11:51 [ cdecker ] [ GAit ] [ lightningbot ] [ ppisati ] [ victorSN ] 11:51 [ cfields ] [ Galvas ] [ Lightsword ] [ Processus42 ] [ Victorsueca ] 11:51 [ chjj ] [ gertjaap_ ] [ lio17 ] [ provoostenator ] [ vincenzopalazzo ] 11:51 [ cloudhead ] [ ghost43 ] [ Livestradamus ] [ prusnak ] [ wallet42_ ] 11:51 [ cncr04s ] [ gnusha ] [ luke-jr ] [ qubenix ] [ warren ] 11:51 [ CodeShark____] [ go1111111 ] [ m1rror5 ] [ rabidus ] [ waxwing ] 11:51 [ comboy ] [ GoldmanSats_ ] [ Madars ] [ raj_ ] [ willcl_ark ] 11:51 [ commavir ] [ greypw ] [ marcinja ] [ real_or_random ] [ windsok ] 11:51 [ cornfeedhobo ] [ gribble ] [ marcoagner ] [ rh0nj ] [ wraithm ] 11:51 [ corollari__ ] [ Guyver2_ ] [ MarcoFalke ] [ rhiaro ] [ wullon58 ] 11:51 [ Cory ] [ gwillen ] [ mariorz ] [ rjected ] [ wumpus ] 11:51 [ cryptapus ] [ gzhao408 ] [ MasterdonX ] [ rknLA1 ] [ wxss ] 11:51 [ CubicEarth ] [ hadjiszs_ ] [ mdrollette ] [ roasbeef ] [ yancy ] 11:51 [ da2ce7 ] [ harding ] [ mekster ] [ rockhouse ] [ z3232 ] 11:51 [ darosior ] [ harrigan ] [ melande ] [ roconnor ] [ Zenton ] 11:51 [ davec ] [ hebasto ] [ Mercury_Vapor ] [ rojiro ] 11:51 [ davterra ] [ helo ] [ meshcollider ] [ RubenSomsen ] 11:51 [ dburkett ] [ Henry151 ] [ michaelfolkson ] [ ryanofsky ] 11:51 [ Deacyde ] [ hex17or ] [ michagogo ] [ sanket1729 ] 11:51 -!- Irssi: #bitcoin-core-dev: Total of 246 nicks [0 ops, 0 halfops, 0 voices, 246 normal] 11:51 -!- Channel #bitcoin-core-dev created Mon Nov 17 07:08:12 2014 11:52 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 11:52 < bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d254e6e7951f...197450f80868 11:52 < bitcoin-git> bitcoin/master 4148f55 Nadav Ivgi: docs: Correct description for getblockstats's txs field 11:52 < bitcoin-git> bitcoin/master 197450f MarcoFalke: Merge #19777: docs: Correct description for getblockstats's txs field 11:52 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 11:52 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 11:52 < bitcoin-git> [bitcoin] MarcoFalke merged pull request #19777: docs: Correct description for getblockstats's txs field (master...202008-getblockstats-docs) https://github.com/bitcoin/bitcoin/pull/19777 11:52 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 11:53 -!- Irssi: Join to #bitcoin-core-dev was synced in 107 secs 12:06 -!- anne [417a7b42@65-122-123-66.dia.static.qwest.net] has joined #bitcoin-core-dev 12:06 -!- anne is now known as Guest57714 12:20 -!- arowser [~arowser1@67.230.166.11] has quit [Remote host closed the connection] 12:20 -!- Guest57714 [417a7b42@65-122-123-66.dia.static.qwest.net] has quit [Remote host closed the connection] 12:20 -!- arowser [~arowser1@67.230.166.11] has joined #bitcoin-core-dev 12:42 -!- sipsorcery [~sipsorcer@2a02:8084:6981:7880::1e7] has quit [Ping timeout: 272 seconds] 13:11 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has quit [Ping timeout: 244 seconds] 13:13 -!- sipsorcery [~sipsorcer@2a02:8084:6981:7880::1e7] has joined #bitcoin-core-dev 13:39 -!- Guyver2_ [Guyver@guyver2.xs4all.nl] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 13:41 -!- Talkless [~Talkless@hst-227-49.splius.lt] has quit [Quit: Konversation terminated!] 13:52 -!- Eagle[TM] [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 256 seconds] 14:00 -!- rknLA1 [~rknLA@s91904426.blix.com] has quit [] 14:06 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has joined #bitcoin-core-dev 14:11 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 14:16 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 240 seconds] 14:22 -!- tronical [~tronical@77.243.177.38] has joined #bitcoin-core-dev 15:14 -!- tryphe_ is now known as tryphe 15:23 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has joined #bitcoin-core-dev 15:31 -!- sipsorcery [~sipsorcer@2a02:8084:6981:7880::1e7] has quit [Ping timeout: 244 seconds] 15:58 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 16:00 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #bitcoin-core-dev 16:16 -!- dviola [~diego@unaffiliated/dviola] has quit [Quit: WeeChat 2.9] 16:18 -!- dviola [~diego@unaffiliated/dviola] has joined #bitcoin-core-dev 16:29 -!- mdunnio [~mdunnio@208.59.170.5] has joined #bitcoin-core-dev 16:33 -!- mdunnio [~mdunnio@208.59.170.5] has quit [Ping timeout: 240 seconds] 16:43 -!- sipsorcery [~sipsorcer@2a02:8084:6981:7880::1e7] has joined #bitcoin-core-dev 16:44 -!- marcoagner [~user@bl11-17-219.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 17:00 -!- tronical [~tronical@77.243.177.38] has quit [] 17:21 -!- sipsorcery [~sipsorcer@2a02:8084:6981:7880::1e7] has quit [Ping timeout: 272 seconds] 17:22 -!- Rennex1 [~Rennex@178.239.168.171] has joined #bitcoin-core-dev 17:38 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 17:38 < bitcoin-git> [bitcoin] theStack opened pull request #19781: test: add parameterized constructor for msg_sendcmpct() (master...20200823-test-extend-msg_sendcmpct_ctor) https://github.com/bitcoin/bitcoin/pull/19781 17:38 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 18:02 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 18:07 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 258 seconds] 18:19 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has joined #bitcoin-core-dev 18:20 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 18:42 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 264 seconds] 18:43 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has joined #bitcoin-core-dev 18:57 -!- Emcy [~Emcy@unaffiliated/emcy] has quit [Remote host closed the connection] 19:00 -!- Emcy [~Emcy@unaffiliated/emcy] has joined #bitcoin-core-dev 19:35 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has quit [Ping timeout: 256 seconds] 19:35 -!- arowser [~arowser1@67.230.166.11] has quit [Remote host closed the connection] 19:36 -!- arowser [~arowser1@67.230.166.11] has joined #bitcoin-core-dev 19:43 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has joined #bitcoin-core-dev 19:51 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has quit [Ping timeout: 256 seconds] 19:52 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has quit [Ping timeout: 240 seconds] 19:53 -!- arowser [~arowser1@67.230.166.11] has quit [Remote host closed the connection] 19:53 -!- arowser [~arowser1@67.230.166.11] has joined #bitcoin-core-dev 19:57 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has joined #bitcoin-core-dev 20:00 -!- Rennex1 [~Rennex@178.239.168.171] has quit [] 20:01 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has joined #bitcoin-core-dev 20:17 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has quit [Ping timeout: 240 seconds] 20:23 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has quit [Ping timeout: 260 seconds] 20:29 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 20:32 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has joined #bitcoin-core-dev 20:33 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 246 seconds] 20:36 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 260 seconds] 20:37 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has joined #bitcoin-core-dev 20:40 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has quit [Ping timeout: 240 seconds] 20:41 -!- jeremyrubin [~jr@2601:645:c200:f539:7466:2d6e:7660:5d03] has joined #bitcoin-core-dev 20:51 < jeremyrubin> re https://github.com/bitcoin/bitcoin/pull/17509, should there be a savepsbt RPC interface which keeps track of psbts submitted? Could be useful to keep track of the idea that we have a pending spend of some outputs. 20:55 -!- nigel_c [~nigel_c@217.146.82.202] has joined #bitcoin-core-dev 20:56 -!- jeremyrubin [~jr@2601:645:c200:f539:7466:2d6e:7660:5d03] has quit [Ping timeout: 244 seconds] 20:57 -!- jeremyrubin [~jr@2601:645:c200:f539:c134:ae7f:2da9:d893] has joined #bitcoin-core-dev 20:58 < jeremyrubin> I think my prev message dropped 20:58 < jeremyrubin> re https://github.com/bitcoin/bitcoin/pull/17509, should there be a savepsbt RPC interface which keeps track of psbts submitted? Could be useful to keep track of the idea that we have a pending spend of some outputs. 20:58 < jeremyrubin> (sorry if repaste) 21:05 < gwillen> this might be something that walletsignpsbt could (maybe optionally on-by-default?) track, if we sign a spend of wallet coins? 21:05 < jeremyrubin> I want it before then though as well 21:05 < gwillen> I don't know if there's an equivalent on the non-PSBT side, when we sign a raw transaction 21:05 < jeremyrubin> You should be able to store and manage a bunch of PSBTs 21:06 < jeremyrubin> E.g., we could stick them in the wallet with a couple special flags to promise not to mine them till final or something... 21:07 < jeremyrubin> It's useful if you're using Core as a wallet DB e.g. for a protocol. You might want to store a watchonly PSBT txn unsigned 21:11 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has quit [Ping timeout: 258 seconds] 21:18 -!- sr_gi [~sr_gi@static-144-88-225-77.ipcom.comunitel.net] has quit [Read error: Connection reset by peer] 21:19 -!- sr_gi [~sr_gi@static-144-88-225-77.ipcom.comunitel.net] has joined #bitcoin-core-dev 21:25 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 21:29 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 21:29 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 21:32 -!- davec [~davec@cpe-24-243-240-159.hot.res.rr.com] has joined #bitcoin-core-dev 21:32 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 240 seconds] 21:43 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 21:52 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #bitcoin-core-dev 22:08 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 258 seconds] 22:56 < achow101> jeremyrubin: there should be an option in walletcreatefundedpsbt to lock utxos after funding 22:57 < achow101> IIRC there's an option in fundrawtransaction to do that, and walletcreatefundedpsbt has the same options 22:57 < jeremyrubin> hm 22:57 < jeremyrubin> But there's not a notion of storing the PSBT for later retrieval? 22:58 < achow101> no 22:58 < jeremyrubin> E.g., "get me the PSBT that is locking X output" 22:59 < jeremyrubin> is there a reason not to add something like this conceptually? 22:59 < jeremyrubin> some kind of psbtindex 22:59 < achow101> it can take up a bunch of space? 23:00 -!- nigel_c [~nigel_c@217.146.82.202] has quit [] 23:00 < achow101> would probably also require reworking transaction creation to operate on PSBTs 23:00 < jeremyrubin> Well it's your own txns... 23:00 < achow101> not every transaction funded is signed and broadcast though 23:00 < jeremyrubin> Correct, so it could be optional to store them 23:00 < achow101> although I guess locking the utxos implies that you actually plan on doing something 23:01 < jeremyrubin> I just think it would be generically useful to store PSBTs that I expect to use in the future. Otherwise where should I store a txn waiting for a signature from a vault keu? 23:02 < jeremyrubin> I want to send an witness-stripped PSBT to the vault key, and then finalize it later on my node 23:02 < jeremyrubin> If I store the PSBT I can check what I got back was the same thing 23:02 < achow101> sure 23:03 < jeremyrubin> If they're just locked it would prevent new txs from using them, but doesn't guarantee the right tx uses them 23:04 < sipa> why do you need to store it in the first place? 23:04 < sipa> what you'll get back from the vault will be a fully-signed transaction, no? 23:05 < jeremyrubin> Nope! 23:05 < jeremyrubin> i send it to the vault unsigned by anyone 23:05 < jeremyrubin> and then only sign after the vault has signed 23:05 < sipa> ok 23:06 < jeremyrubin> You can imagine that this is more normally the case when dealing with e.g. 10 vault keys that you want to sign in parallel with 23:06 < sipa> i can see a use for something that keeps track of "in progress" transactions 23:06 < sipa> i'm not sure if the bitcoin core wallet is the right place 23:07 < jeremyrubin> I think it's more that bitcoin core wallet is the de-facto security perimiter for storing/handling the sensitive info and backups 23:08 < jeremyrubin> So anything that you implemented as a diff layer you would want to likely have identical state for consistency 23:08 < jeremyrubin> which leads me to believe the natural place is core wallet 23:11 < jeremyrubin> (The context in which this came up is I have a tool which creates a bitcoin smart contract, and then I create a PSBT for it, locking the outputs I need. I then also have sub-transactions in that smart contract which i want to store somewhere, and they could be partially signed because they're lacking e.g. a vault key or a preimage. 23:12 < jeremyrubin> Otherwise if you lose the specific transactions you would need to re-generate from the smart contract script the binary, which is currently not possible because I'm using Policy language for creating the contract 23:15 < sipa> i've told you that's the problem 23:16 < jeremyrubin> I'm not disagreeing or countering what you've said previously, merely noting. Were I to use a deterministic engine, then the issue would be lesser, but still present for convenience in finalizing txns. 23:22 -!- HedgeMage1 [~HedgeMage@77.243.177.38] has joined #bitcoin-core-dev 23:54 -!- S3RK [~s3rk@47.246.66.112] has joined #bitcoin-core-dev 23:58 -!- S3RK [~s3rk@47.246.66.112] has quit [Ping timeout: 256 seconds] --- Log closed Sun Aug 23 00:00:57 2020