{
  "founder": "achow101",
  "channel": "#bitcoin-core-dev",
  "network": "libera",
  "id": "d9cb2fb228704e5bb01ffc73133c9af3",
  "name": "#bitcoin-core-dev",
  "chair": "achow101",
  "chairs": [
    "achow101"
  ],
  "nicks": {
    "achow101": 22,
    "core-meetingbot`": 3,
    "Murch": 53,
    "S3RK": 51,
    "gribble": 2,
    "michaelfolkson": 1,
    "glozow": 1,
    "jonatack": 2,
    "bitcoin-git": 1
  },
  "start_time": "2022-02-11T19:00:18+00:00",
  "end_time": "2022-02-11T19:41:08+00:00",
  "active": false,
  "original_topic": "Bitcoin Core development discussion and commit log | 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 http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt / http://gnusha.org/bitcoin-core-dev/proposedwalletmeetingtopics.txt",
  "current_topic": "Better name for `sweepwallet` RPC (Murch)",
  "messages": [
    {
      "id": "98d28b76960943a08eb5f93fa3d0380c",
      "sender": "achow101",
      "payload": "#startmeeting",
      "action": false,
      "timestamp": "2022-02-11T19:00:18+00:00"
    },
    {
      "id": "ed00ffea3cb940d2896f0c73c365b0dd",
      "sender": "core-meetingbot`",
      "payload": "Meeting started Fri Feb 11 19:00:18 2022 UTC.  The chair is achow101. Information about MeetBot at https://bitcoin.jonasschnelli.ch/ircmeetings.",
      "action": false,
      "timestamp": "2022-02-11T19:00:18+00:00"
    },
    {
      "id": "279088c105f84f6bad686eb940561e03",
      "sender": "core-meetingbot`",
      "payload": "Available commands: action commands idea info link nick",
      "action": false,
      "timestamp": "2022-02-11T19:00:18+00:00"
    },
    {
      "id": "3726d32def484d6eaf54767c3d8f5957",
      "sender": "achow101",
      "payload": "#bitcoin-core-dev Wallet Meeting: achow101 _aj_ amiti ariard BlueMatt cfields Chris_Stewart_5 darosior digi_james dongcarl elichai2 emilengler fanquake fjahr gleb glozow gmaxwell gwillen hebasto instagibbs jamesob jarolrod jb55 jeremyrubin jl2012 jnewbery jonasschnelli jonatack jtimon kallewoof kanzure kvaciral laanwj larryruane lightlike luke-jr maaku marcofalke meshcollider michagogo moneyball morcos Murch nehan NicolasDorier paveljanik",
      "action": false,
      "timestamp": "2022-02-11T19:00:29+00:00"
    },
    {
      "id": "741c28a41c20416c8e7c98ba587f424f",
      "sender": "achow101",
      "payload": "petertodd phantomcircuit promag provoostenator ryanofsky sdaftuar S3RK sipa vasild",
      "action": false,
      "timestamp": "2022-02-11T19:00:29+00:00"
    },
    {
      "id": "ac018a27595c410ebfc5491d950bfa2f",
      "sender": "Murch",
      "payload": "Hi",
      "action": false,
      "timestamp": "2022-02-11T19:00:43+00:00"
    },
    {
      "id": "9f66d25d876b4fc4b89a1387a8fbf2b8",
      "sender": "achow101",
      "payload": "there are no pre-proposed topics, anyone have anything to discuss?",
      "action": false,
      "timestamp": "2022-02-11T19:01:12+00:00"
    },
    {
      "id": "6529f783faab4e4095e827e6c8e200bb",
      "sender": "S3RK",
      "payload": "hi",
      "action": false,
      "timestamp": "2022-02-11T19:02:15+00:00"
    },
    {
      "id": "b61dc45eea1845fc9e9b03061ca575ba",
      "sender": "S3RK",
      "payload": "I'm working on the test cases for bnb without limit",
      "action": false,
      "timestamp": "2022-02-11T19:02:42+00:00"
    },
    {
      "id": "1cdc62c2650f4797b56bfce4a31ffd9b",
      "sender": "S3RK",
      "payload": "was able to reproduce a case when it dropped >250k sats",
      "action": false,
      "timestamp": "2022-02-11T19:03:51+00:00"
    },
    {
      "id": "2a95bbb6f89d4596861bb60e027fc093",
      "sender": "Murch",
      "payload": "Ouch!",
      "action": false,
      "timestamp": "2022-02-11T19:04:19+00:00"
    },
    {
      "id": "7c9c498612624edbb99ae3ca553f98b3",
      "sender": "achow101",
      "payload": "are you able to run simulations?",
      "action": false,
      "timestamp": "2022-02-11T19:04:19+00:00"
    },
    {
      "id": "d86ac5c31c6448d3a54d1137e3de608c",
      "sender": "S3RK",
      "payload": "my laptop is too slow for the simulations that you run",
      "action": false,
      "timestamp": "2022-02-11T19:04:47+00:00"
    },
    {
      "id": "0ac57c764fde4bc89eb624f03f5feef6",
      "sender": "Murch",
      "payload": "#proposedwalletmeetingtopic Better name for `sweepwallet` RPC",
      "action": false,
      "timestamp": "2022-02-11T19:04:49+00:00"
    },
    {
      "id": "4bacc09ee4594e7d942b0dbaa95d3fd0",
      "sender": "achow101",
      "payload": "S3RK: that's unfortunate",
      "action": false,
      "timestamp": "2022-02-11T19:05:48+00:00"
    },
    {
      "id": "6df5bee8623d44f7bfaf9670f1f95502",
      "sender": "Murch",
      "payload": "S3RK: How would you propose to curb such high amounts?",
      "action": false,
      "timestamp": "2022-02-11T19:06:01+00:00"
    },
    {
      "id": "5fc9bf4414c7444ea1627f1fe612adfc",
      "sender": "Murch",
      "payload": "Random Selection doesn't necessarily get a better result, although with that sort of amount it should be extremely likely",
      "action": false,
      "timestamp": "2022-02-11T19:06:21+00:00"
    },
    {
      "id": "2a7188501d184c3397379f4569a7c09b",
      "sender": "Murch",
      "payload": "I guess Knapsack should also get something with a lower waste",
      "action": false,
      "timestamp": "2022-02-11T19:06:38+00:00"
    },
    {
      "id": "f0e61f916cd4472c966718bda936940e",
      "sender": "S3RK",
      "payload": "the worst case is when knapsack latches onto an exact match with many inputs",
      "action": false,
      "timestamp": "2022-02-11T19:07:04+00:00"
    },
    {
      "id": "8196fe6a9a5845de95c370529b092742",
      "sender": "S3RK",
      "payload": "and due to sheer amount of inputs in the wallet SRD can't find predictably a good solution either",
      "action": false,
      "timestamp": "2022-02-11T19:07:39+00:00"
    },
    {
      "id": "12213a17310c4240ace3559ffbc1ffc0",
      "sender": "S3RK",
      "payload": "i have two ideas 1) keep the limit but move it higher",
      "action": false,
      "timestamp": "2022-02-11T19:08:00+00:00"
    },
    {
      "id": "7378e260ad904ba7ad516cc81d46762e",
      "sender": "S3RK",
      "payload": "2) introduce another selection algo in the mix that will find solution in such cases",
      "action": false,
      "timestamp": "2022-02-11T19:08:30+00:00"
    },
    {
      "id": "2b39822ceac84296885ed4cf9791e8f4",
      "sender": "S3RK",
      "payload": "#1 is pretty easy, I'll do a bit more research on what is a good value for the limit",
      "action": false,
      "timestamp": "2022-02-11T19:08:52+00:00"
    },
    {
      "id": "059a882b8c3a4154aef2e73d23d60edb",
      "sender": "gribble",
      "payload": "https://github.com/bitcoin/bitcoin/issues/1 | JSON-RPC support for mobile devices (\"ultra-lightweight\" clients) \u00c3\u0082\u00c2\u00b7 Issue #1 \u00c3\u0082\u00c2\u00b7 bitcoin/bitcoin \u00c3\u0082\u00c2\u00b7 GitHub",
      "action": false,
      "timestamp": "2022-02-11T19:08:54+00:00"
    },
    {
      "id": "178928e2df03436ebe0d9ee3309fd23d",
      "sender": "S3RK",
      "payload": "lol",
      "action": false,
      "timestamp": "2022-02-11T19:09:00+00:00"
    },
    {
      "id": "b037fc29e9fe4cb8a99aa7e6a36bf3fd",
      "sender": "achow101",
      "payload": "I think another algo is going to be more difficult than finding a better limit",
      "action": false,
      "timestamp": "2022-02-11T19:10:03+00:00"
    },
    {
      "id": "3c26a7dedda64a569692ba9efaecb3ba",
      "sender": "Murch",
      "payload": "Well, in what way?",
      "action": false,
      "timestamp": "2022-02-11T19:10:23+00:00"
    },
    {
      "id": "19dcb8e93c2745ed9bb3bf4a59e10cb1",
      "sender": "S3RK",
      "payload": "the thing is even with higher limit the selection in such scenario is pretty bad",
      "action": false,
      "timestamp": "2022-02-11T19:10:24+00:00"
    },
    {
      "id": "456f87d5fce0482d8752c00918f7fbdd",
      "sender": "S3RK",
      "payload": "the waste is huuuge",
      "action": false,
      "timestamp": "2022-02-11T19:10:37+00:00"
    },
    {
      "id": "135091c2d3044124b9c3d6a4e7c89919",
      "sender": "Murch",
      "payload": "Yeah",
      "action": false,
      "timestamp": "2022-02-11T19:10:48+00:00"
    },
    {
      "id": "9aecb3fe281444f595497f1f53283740",
      "sender": "S3RK",
      "payload": "and it's kind of obvious what is the optimal solution",
      "action": false,
      "timestamp": "2022-02-11T19:10:59+00:00"
    },
    {
      "id": "b075ff4669fa459199c0b3dbc73e5623",
      "sender": "Murch",
      "payload": "S3RK: Obvious in a way that can be formalized? ;)",
      "action": false,
      "timestamp": "2022-02-11T19:11:26+00:00"
    },
    {
      "id": "ec2bae1f898a4d87a2492a6019286637",
      "sender": "S3RK",
      "payload": "I'll polish the test and make PR, would be easier to discuss on examples",
      "action": false,
      "timestamp": "2022-02-11T19:11:28+00:00"
    },
    {
      "id": "4639e7b3320b412f8f382551503136ac",
      "sender": "michaelfolkson",
      "payload": "hi",
      "action": false,
      "timestamp": "2022-02-11T19:11:30+00:00"
    },
    {
      "id": "bd5257a70b5049a387ddbf6e55911077",
      "sender": "glozow",
      "payload": "hi",
      "action": false,
      "timestamp": "2022-02-11T19:11:34+00:00"
    },
    {
      "id": "aa11bf4a01dc4f34af323e9791144ca7",
      "sender": "Murch",
      "payload": "oh, you mean for the higher limit?",
      "action": false,
      "timestamp": "2022-02-11T19:11:44+00:00"
    },
    {
      "id": "fbcc3267b524445696e2b0b422fdf8d4",
      "sender": "S3RK",
      "payload": "murch: not sure about formalization",
      "action": false,
      "timestamp": "2022-02-11T19:12:12+00:00"
    },
    {
      "id": "102b0db27fca492c9b2a9f84dfbced1d",
      "sender": "jonatack",
      "payload": "hi (wallet meeting started ten minutes ago or is it at the top of the next hour?)",
      "action": false,
      "timestamp": "2022-02-11T19:13:09+00:00"
    },
    {
      "id": "50ad1b5f0b344a38a1415fafddc18256",
      "sender": "S3RK",
      "payload": "I think an algo minimizing the fees would find it",
      "action": false,
      "timestamp": "2022-02-11T19:13:11+00:00"
    },
    {
      "id": "89d55c020ecf41cbb5303c71c4bfab09",
      "sender": "Murch",
      "payload": "jonatack: it's on-going",
      "action": false,
      "timestamp": "2022-02-11T19:13:32+00:00"
    },
    {
      "id": "b638f5a515c2430fb662e9a0f90280fd",
      "sender": "jonatack",
      "payload": "Murch: ty",
      "action": false,
      "timestamp": "2022-02-11T19:13:41+00:00"
    },
    {
      "id": "835e5a12c3114baa8c6da6c6d2757f48",
      "sender": "achow101",
      "payload": "S3RK: yes, examples would be useful",
      "action": false,
      "timestamp": "2022-02-11T19:13:54+00:00"
    },
    {
      "id": "8d9567b7ccfe4172b50277102e0fe072",
      "sender": "Murch",
      "payload": "or just LF",
      "action": false,
      "timestamp": "2022-02-11T19:14:05+00:00"
    },
    {
      "id": "bf226425bc8d41808addd273ca055267",
      "sender": "Murch",
      "payload": "S3RK: Oh, sure. But that would essentially boil down to smallest input larger than the target",
      "action": false,
      "timestamp": "2022-02-11T19:14:05+00:00"
    },
    {
      "id": "8911f16892f145bab3af755f14e24340",
      "sender": "bitcoin-git",
      "payload": "[bitcoin] dongcarl opened pull request #24322: [kernel 1/n] Introduce initial `libbitcoinkernel` (master...2022-02-libbitcoinkernel-p1-minimal) https://github.com/bitcoin/bitcoin/pull/24322",
      "action": false,
      "timestamp": "2022-02-11T19:14:13+00:00"
    },
    {
      "id": "a72b4c8931e54247b73475b4986b11d3",
      "sender": "Murch",
      "payload": "For a single selection that's of course optimal",
      "action": false,
      "timestamp": "2022-02-11T19:14:21+00:00"
    },
    {
      "id": "ce1ef24b7d5242ddb36313019ca969f5",
      "sender": "Murch",
      "payload": "It's probably not optimal for the long-term, though",
      "action": false,
      "timestamp": "2022-02-11T19:14:31+00:00"
    },
    {
      "id": "c29904c442884764b6840d392ee712b7",
      "sender": "S3RK",
      "payload": "not always, because consolidation could be better if fees are low",
      "action": false,
      "timestamp": "2022-02-11T19:14:51+00:00"
    },
    {
      "id": "98a1decd1ff4498186fc5d7a50e400b8",
      "sender": "S3RK",
      "payload": "but I understand the challenge",
      "action": false,
      "timestamp": "2022-02-11T19:14:59+00:00"
    },
    {
      "id": "5f84ac35afac4038aecdcb21ea34d777",
      "sender": "S3RK",
      "payload": "maybe we can punish such solutions by some fixed waster",
      "action": false,
      "timestamp": "2022-02-11T19:15:09+00:00"
    },
    {
      "id": "9a05937909114658a1dee6607b265737",
      "sender": "S3RK",
      "payload": "idk",
      "action": false,
      "timestamp": "2022-02-11T19:15:10+00:00"
    },
    {
      "id": "faab6b20e28d432d97649b503e364ff0",
      "sender": "Murch",
      "payload": "Right, but that wouldn't be minimizing fees",
      "action": false,
      "timestamp": "2022-02-11T19:15:13+00:00"
    },
    {
      "id": "5d8b6b5e42444d888eb5d2fd812cd976",
      "sender": "Murch",
      "payload": "But rather minimizing waste :)",
      "action": false,
      "timestamp": "2022-02-11T19:15:26+00:00"
    },
    {
      "id": "64c0a7ee4eb84646a7c76d4470ef3e60",
      "sender": "Murch",
      "payload": "mh.",
      "action": false,
      "timestamp": "2022-02-11T19:15:41+00:00"
    },
    {
      "id": "e819d905e8d0461595af70125c70deac",
      "sender": "S3RK",
      "payload": "well... I mean the algo searches for the minimum fee solution",
      "action": false,
      "timestamp": "2022-02-11T19:15:58+00:00"
    },
    {
      "id": "6a36e1e096e449aab04226ebb8cf8259",
      "sender": "S3RK",
      "payload": "but the final result is selected by waste",
      "action": false,
      "timestamp": "2022-02-11T19:16:05+00:00"
    },
    {
      "id": "76e0ef9322e3403a8b16dcf30d80a54d",
      "sender": "Murch",
      "payload": "ah yes",
      "action": false,
      "timestamp": "2022-02-11T19:16:11+00:00"
    },
    {
      "id": "b3ccb6183d01477794dda5c54ccba077",
      "sender": "S3RK",
      "payload": "which means that the algo won't always win",
      "action": false,
      "timestamp": "2022-02-11T19:16:18+00:00"
    },
    {
      "id": "a8bd1f216a56497d99d6ec04336f5c5d",
      "sender": "Murch",
      "payload": "Right, but it would also mean that we would usually get a single input solution for anything above 10 sat/vB",
      "action": false,
      "timestamp": "2022-02-11T19:16:47+00:00"
    },
    {
      "id": "a1bbd1f5a0dc491287a6409ece3ebe67",
      "sender": "S3RK",
      "payload": "I agree it might skew the selection too much. just an idea",
      "action": false,
      "timestamp": "2022-02-11T19:17:06+00:00"
    },
    {
      "id": "b854237d330c493f879460af40bea558",
      "sender": "Murch",
      "payload": "Occasionally, maybe a BnB solution with two inputs that has better waste",
      "action": false,
      "timestamp": "2022-02-11T19:17:10+00:00"
    },
    {
      "id": "ff7c010936494573a8110dd1b2e5b522",
      "sender": "Murch",
      "payload": "Yeha, sorry, I'm not trying to dissuade brain storming",
      "action": false,
      "timestamp": "2022-02-11T19:17:42+00:00"
    },
    {
      "id": "163b1c54f98d4cda8d9cbf7a5b38f8d6",
      "sender": "Murch",
      "payload": "I was just considering it as well, but I think it would basically get rid of almost all other solutions",
      "action": false,
      "timestamp": "2022-02-11T19:18:09+00:00"
    },
    {
      "id": "72f4894258644b6b91afaab5b27daad4",
      "sender": "Murch",
      "payload": "(for the high feerate case, that is)",
      "action": false,
      "timestamp": "2022-02-11T19:18:24+00:00"
    },
    {
      "id": "501067efac5748d1bce3532cf4d71e5f",
      "sender": "S3RK",
      "payload": "oh! what if we do run knapsack with a few change targets?",
      "action": false,
      "timestamp": "2022-02-11T19:18:28+00:00"
    },
    {
      "id": "30619083a981424e9f0e1ef68c90985d",
      "sender": "S3RK",
      "payload": "the problem now is that if there is an exact match knapsack quits",
      "action": false,
      "timestamp": "2022-02-11T19:18:57+00:00"
    },
    {
      "id": "7547ae11abff4dc18a0d752ea1b745ff",
      "sender": "achow101",
      "payload": "I thought we were plannin on ditching knapsack",
      "action": false,
      "timestamp": "2022-02-11T19:19:00+00:00"
    },
    {
      "id": "9e021890b2fd4e47a489eb281c9d5ba7",
      "sender": "S3RK",
      "payload": "I'm not sure SRD + bnb only cover all cases, like the one we are dicussing no",
      "action": false,
      "timestamp": "2022-02-11T19:19:45+00:00"
    },
    {
      "id": "d0a01cb2c8184925ad375383482998c2",
      "sender": "Murch",
      "payload": "achow101: Yeah, but isn't it currently providing something like 60% of all selection solutions? We should probably find something that beats Knapsack before getting rid of it",
      "action": false,
      "timestamp": "2022-02-11T19:19:58+00:00"
    },
    {
      "id": "438b66dfcafc4810a5b9ba8a178fe042",
      "sender": "Murch",
      "payload": "I don't like how computationally inefficient it is, but it currently seems to be the best solution per waste metric most of the time",
      "action": false,
      "timestamp": "2022-02-11T19:21:03+00:00"
    },
    {
      "id": "0a24a017f3734eef9cffad5f9976e7d1",
      "sender": "Murch",
      "payload": "mh. If there is an exact match, we should also find it with BnB.",
      "action": false,
      "timestamp": "2022-02-11T19:22:08+00:00"
    },
    {
      "id": "11b7b05b2743456aaa442a234a5e59fb",
      "sender": "Murch",
      "payload": "Perhaps we could just kick that out of Knapsack's terminal conditions?",
      "action": false,
      "timestamp": "2022-02-11T19:22:32+00:00"
    },
    {
      "id": "3db3dfb0407b47638818daf09e434914",
      "sender": "S3RK",
      "payload": "we do, but the waste sucks. and BnB preffers to drop 250k sats to fees",
      "action": false,
      "timestamp": "2022-02-11T19:22:33+00:00"
    },
    {
      "id": "8397786c862544a4998e1dc1468765c6",
      "sender": "Murch",
      "payload": "Oh, you mean in the case that we get an input set with tons of inputs",
      "action": false,
      "timestamp": "2022-02-11T19:23:14+00:00"
    },
    {
      "id": "50595bf01d8044459dd03abd82c5daae",
      "sender": "S3RK",
      "payload": "yes",
      "action": false,
      "timestamp": "2022-02-11T19:23:20+00:00"
    },
    {
      "id": "0f0923e1040b4d55a20318b7799b7801",
      "sender": "Murch",
      "payload": "Well, that would be more of a bug than intended behavior, wouldn't it?",
      "action": false,
      "timestamp": "2022-02-11T19:23:29+00:00"
    },
    {
      "id": "3e0f4caafa344c0689766a33fb59ab38",
      "sender": "achow101",
      "payload": "if I understand correctly, both bnb without limit and knapsack find solutions that suck, when there is a better one?",
      "action": false,
      "timestamp": "2022-02-11T19:23:44+00:00"
    },
    {
      "id": "1dd8d530b8284e44a00e69521a82ec9c",
      "sender": "S3RK",
      "payload": "indeed",
      "action": false,
      "timestamp": "2022-02-11T19:23:54+00:00"
    },
    {
      "id": "41540e5a3116401ab9d992cf037d5d60",
      "sender": "S3RK",
      "payload": "the scenario is like this",
      "action": false,
      "timestamp": "2022-02-11T19:24:00+00:00"
    },
    {
      "id": "2db8e95572ca48968aca1bb78dea4b6f",
      "sender": "achow101",
      "payload": "for some definition of better that doesn't quite include waste?",
      "action": false,
      "timestamp": "2022-02-11T19:24:01+00:00"
    },
    {
      "id": "06c9df09a1a6444f810c018d44a4a2c6",
      "sender": "S3RK",
      "payload": "we have one big coin and tons of small ones",
      "action": false,
      "timestamp": "2022-02-11T19:24:22+00:00"
    },
    {
      "id": "8ae2e91596ab4610b8d03ea704b37e02",
      "sender": "S3RK",
      "payload": "we send an amount that is exact match of 100 small coins AND just under big coin",
      "action": false,
      "timestamp": "2022-02-11T19:24:51+00:00"
    },
    {
      "id": "7b60d011fefa4f61b8cff448a9bf9510",
      "sender": "Murch",
      "payload": "Isn't it more like \"BnB without limit finds always a solution, but they suck sometimes\"?",
      "action": false,
      "timestamp": "2022-02-11T19:24:54+00:00"
    },
    {
      "id": "0a774a16709b475da2ce5e14ffd5d59c",
      "sender": "S3RK",
      "payload": "bnb without limit finds a solution when we use one big coin and drop the rest for fees",
      "action": false,
      "timestamp": "2022-02-11T19:25:16+00:00"
    },
    {
      "id": "c5adccef29304140825d00a4058f5682",
      "sender": "S3RK",
      "payload": "knapsack finds exact match which is bad",
      "action": false,
      "timestamp": "2022-02-11T19:25:25+00:00"
    },
    {
      "id": "9f6bcf7abf94465cb0fff29e61f6b744",
      "sender": "S3RK",
      "payload": "the optimal is to take one big coin + maybe a few small and create change",
      "action": false,
      "timestamp": "2022-02-11T19:25:44+00:00"
    },
    {
      "id": "d4561b1bc7504d8e9d61c26d14e953cb",
      "sender": "achow101",
      "payload": "hmm, maybe we need a knapsack replacement that doesn't do exact match",
      "action": false,
      "timestamp": "2022-02-11T19:25:50+00:00"
    },
    {
      "id": "534c5ce954944d37b5987b6058f0fb8c",
      "sender": "S3RK",
      "payload": "SRD could find it, but if there are tons of coins that the chances are not in our favor",
      "action": false,
      "timestamp": "2022-02-11T19:26:07+00:00"
    },
    {
      "id": "d13e97c18629401386a0c844a0c1bc6d",
      "sender": "Murch",
      "payload": "Right",
      "action": false,
      "timestamp": "2022-02-11T19:26:28+00:00"
    },
    {
      "id": "4e12fdb914f14323bb8c40cd0a23633d",
      "sender": "Murch",
      "payload": "Makes sense",
      "action": false,
      "timestamp": "2022-02-11T19:26:32+00:00"
    },
    {
      "id": "df54ee8bcf9b44acb91dacd715b2a638",
      "sender": "achow101",
      "payload": "knapsack also does a couple different things, perhaps we should split it up. e.g. the \"lowest larger\" part of it sounds like it would solve this problem",
      "action": false,
      "timestamp": "2022-02-11T19:27:03+00:00"
    },
    {
      "id": "e0daba87cbec420fbd969c63b7b14f6a",
      "sender": "Murch",
      "payload": "Has any of you ever looked into the \"blackjack\" algo?",
      "action": false,
      "timestamp": "2022-02-11T19:27:06+00:00"
    },
    {
      "id": "260487c6fa7d465ea5af60cd3844cf6d",
      "sender": "S3RK",
      "payload": "Murch saying just having lowet larger would skew selection too much",
      "action": false,
      "timestamp": "2022-02-11T19:27:39+00:00"
    },
    {
      "id": "0c24335f4bfc4952a598bc3dc25b2540",
      "sender": "S3RK",
      "payload": "didn't look into \"blakjack\" algo",
      "action": false,
      "timestamp": "2022-02-11T19:27:54+00:00"
    },
    {
      "id": "d11b9d1632fd43988aef7f09429a4cf6",
      "sender": "Murch",
      "payload": "achow101: lowest larger would probably almost always win the waste metric for high feerate cases",
      "action": false,
      "timestamp": "2022-02-11T19:28:19+00:00"
    },
    {
      "id": "bf5c301946e8465d88f864f81eac0004",
      "sender": "S3RK",
      "payload": "but what about running knapsack (or any other algo which optimizes for amount match) two times",
      "action": false,
      "timestamp": "2022-02-11T19:28:32+00:00"
    },
    {
      "id": "50c9403d60b1443db59c458f95c33ffb",
      "sender": "S3RK",
      "payload": "one time with the target amount and another with that + some change target",
      "action": false,
      "timestamp": "2022-02-11T19:28:44+00:00"
    },
    {
      "id": "57fdc1a6ba3e46ca8ddfa26ac4a9169b",
      "sender": "Murch",
      "payload": "So it would highly favor short term optimal solutions but encourage fragmentation of the wallet in the long run",
      "action": false,
      "timestamp": "2022-02-11T19:28:53+00:00"
    },
    {
      "id": "8309f3cf4141424f9415f6af9893f43f",
      "sender": "S3RK",
      "payload": "(stupid me, this doesn't help)",
      "action": false,
      "timestamp": "2022-02-11T19:29:02+00:00"
    },
    {
      "id": "ebd935c4a77545958fa99f77ccb40db2",
      "sender": "achow101",
      "payload": "Murch: what about lowest larger without a change target?",
      "action": false,
      "timestamp": "2022-02-11T19:29:12+00:00"
    },
    {
      "id": "934dd16a3c8c4f578330611503835945",
      "sender": "achow101",
      "payload": "(i.e. burn the excess)",
      "action": false,
      "timestamp": "2022-02-11T19:29:23+00:00"
    },
    {
      "id": "d8c7504d59544c21abebd676bde150e6",
      "sender": "S3RK",
      "payload": "that's bnb-without-limit",
      "action": false,
      "timestamp": "2022-02-11T19:29:32+00:00"
    },
    {
      "id": "53ef4f6efaea4dcd85e494c2adbe3446",
      "sender": "Murch",
      "payload": "Blackjack in a couple sentences: continuously pick the largest coin smaller than the missing amount. When no such coin exists, add smallest larger",
      "action": false,
      "timestamp": "2022-02-11T19:29:56+00:00"
    },
    {
      "id": "67d4572d8bc6436e855b9fae87675a69",
      "sender": "Murch",
      "payload": "So, it'll always pick a few inputs, but in the end will always find a solution",
      "action": false,
      "timestamp": "2022-02-11T19:30:29+00:00"
    },
    {
      "id": "470c4aa5571a4bcf9a70c11c79a3f516",
      "sender": "S3RK",
      "payload": "will it find solution in the scenario I described above?",
      "action": false,
      "timestamp": "2022-02-11T19:30:50+00:00"
    },
    {
      "id": "150ebda3ad104698a7773259fc31f562",
      "sender": "S3RK",
      "payload": "sounds like no",
      "action": false,
      "timestamp": "2022-02-11T19:30:54+00:00"
    },
    {
      "id": "12c7868f786444dfbab5a56824ba45c9",
      "sender": "Murch",
      "payload": "It should also be somewhat consolidatory at low feerates",
      "action": false,
      "timestamp": "2022-02-11T19:30:56+00:00"
    },
    {
      "id": "728d3ccf96dc4d8282da3a92986becfa",
      "sender": "Murch",
      "payload": "mhh.",
      "action": false,
      "timestamp": "2022-02-11T19:31:06+00:00"
    },
    {
      "id": "52b6984d97a84c14839788b9fcd90f58",
      "sender": "Murch",
      "payload": "S3RK: Ugh, you're right",
      "action": false,
      "timestamp": "2022-02-11T19:31:17+00:00"
    },
    {
      "id": "a46e9c2c83d4472aac2b81e79491b4bb",
      "sender": "Murch",
      "payload": "Maybe if you limit the first part to ~5 or ten inputs",
      "action": false,
      "timestamp": "2022-02-11T19:31:46+00:00"
    },
    {
      "id": "6068c14d93fb466396d9ef84958bdd40",
      "sender": "achow101",
      "payload": "I'm slightly confused. I think I need to look at an actual input set",
      "action": false,
      "timestamp": "2022-02-11T19:31:46+00:00"
    },
    {
      "id": "688986a41c45403682001ff09205e561",
      "sender": "S3RK",
      "payload": "yes, it's difficult to keep in the head",
      "action": false,
      "timestamp": "2022-02-11T19:32:04+00:00"
    },
    {
      "id": "4340f3e8ed8b44ea9a6353600d81b419",
      "sender": "achow101",
      "payload": "need a whiteboard :)",
      "action": false,
      "timestamp": "2022-02-11T19:32:13+00:00"
    },
    {
      "id": "01ab88ba38ef42fb9240d12f13bba479",
      "sender": "S3RK",
      "payload": "I'll do a PR once I clean up the code",
      "action": false,
      "timestamp": "2022-02-11T19:32:19+00:00"
    },
    {
      "id": "7a931c39524e4c82a524120792824b23",
      "sender": "S3RK",
      "payload": "helped me a lot to reason about it",
      "action": false,
      "timestamp": "2022-02-11T19:32:27+00:00"
    },
    {
      "id": "81fddd17f9bb433688a775d9c838eba1",
      "sender": "S3RK",
      "payload": "that's all from me",
      "action": false,
      "timestamp": "2022-02-11T19:33:00+00:00"
    },
    {
      "id": "0b077829d3904c5f8ae1d7bb2432b3cb",
      "sender": "achow101",
      "payload": "ok, I'll wait for that",
      "action": false,
      "timestamp": "2022-02-11T19:33:09+00:00"
    },
    {
      "id": "779400b4990d4d239efbab4fa02bf458",
      "sender": "Murch",
      "payload": "achow101: You have 100\u00c3\u0083\u00c2\u0097 1\u00c3\u0082\u00c2\u00a0m\u00c3\u00a2\u00c2\u0082\u00c2\u00bf and 1\u00c3\u0083\u00c2\u0097 102.5\u00c3\u0082\u00c2\u00a0m\u00c3\u00a2\u00c2\u0082\u00c2\u00bf. Select for 100\u00c3\u0082\u00c2\u00a0m\u00c3\u00a2\u00c2\u0082\u00c2\u00bf",
      "action": false,
      "timestamp": "2022-02-11T19:33:29+00:00"
    },
    {
      "id": "9dc2732fe7754e1cbd4326a2a4d9dbac",
      "sender": "achow101",
      "payload": "#topic Better name for `sweepwallet` RPC (Murch)",
      "action": false,
      "timestamp": "2022-02-11T19:34:11+00:00"
    },
    {
      "id": "8277bc234a594d0ea5fd091742cb6a83",
      "sender": "core-meetingbot`",
      "payload": "topic: Better name for `sweepwallet` RPC (Murch)",
      "action": false,
      "timestamp": "2022-02-11T19:34:11+00:00"
    },
    {
      "id": "15fb36633268416b833ea1c287a57d71",
      "sender": "Murch",
      "payload": "Okay",
      "action": false,
      "timestamp": "2022-02-11T19:34:24+00:00"
    },
    {
      "id": "2244e3af32e8401ca00c326c5e9e0f05",
      "sender": "Murch",
      "payload": "Well, the proposed RPC was first named `sweep`, and multiple people said that their first instinct was that its function was to take the funds from an external privKey and send the funds into the wallet",
      "action": false,
      "timestamp": "2022-02-11T19:35:17+00:00"
    },
    {
      "id": "6686cb05c2994f6f9277bfbad807c34c",
      "sender": "Murch",
      "payload": "So we renamed it to `sweepwallet` thinking that this would distinguish it, but the comment has come up again :)",
      "action": false,
      "timestamp": "2022-02-11T19:35:50+00:00"
    },
    {
      "id": "44483b746e2a4fccb97696252f912b72",
      "sender": "Murch",
      "payload": "So, I'm open for people proposing a better name for an RPC that has the function of:",
      "action": false,
      "timestamp": "2022-02-11T19:36:36+00:00"
    },
    {
      "id": "60da796fbad94268808e461d4e361d0b",
      "sender": "Murch",
      "payload": "\u00c3\u00a2\u00c2\u0080\u00c2\u00a2 Take a set of UTXOs and send all of it to a recipient deducting fees",
      "action": false,
      "timestamp": "2022-02-11T19:36:36+00:00"
    },
    {
      "id": "960db7c9103a45b68df0b48df227082a",
      "sender": "S3RK",
      "payload": "sendcoind/sendutxos?",
      "action": false,
      "timestamp": "2022-02-11T19:36:53+00:00"
    },
    {
      "id": "1303b1555f3f479793339edd59f318cf",
      "sender": "achow101",
      "payload": "I think sweepwallet is fine",
      "action": false,
      "timestamp": "2022-02-11T19:37:05+00:00"
    },
    {
      "id": "049d04e84575495bb9ae198471296c14",
      "sender": "S3RK",
      "payload": "sweepwallet is also fine with me fwiw",
      "action": false,
      "timestamp": "2022-02-11T19:37:16+00:00"
    },
    {
      "id": "eef6c565d8d5402e8168c51c362ea875",
      "sender": "Murch",
      "payload": "Mh. `sendcoins` does kinda work for me",
      "action": false,
      "timestamp": "2022-02-11T19:38:12+00:00"
    },
    {
      "id": "0b332b3271fe47b1b6a86a9d45f3cbd7",
      "sender": "Murch",
      "payload": "Anyway, I don't want to dwell on it too much. If people have ideas, please dm me, or post on the PR.",
      "action": false,
      "timestamp": "2022-02-11T19:38:35+00:00"
    },
    {
      "id": "68b51ae5896346e59c56f79bad8e144e",
      "sender": "Murch",
      "payload": "If we don't come up with something much better, I'd just stick with it, though",
      "action": false,
      "timestamp": "2022-02-11T19:39:01+00:00"
    },
    {
      "id": "5040702e5b2f4640ae51f780d8d85046",
      "sender": "Murch",
      "payload": "That's #24118 I'm talking about, btw",
      "action": false,
      "timestamp": "2022-02-11T19:40:03+00:00"
    },
    {
      "id": "5a54d8b8cdb7498ea6254c74d8ccf276",
      "sender": "achow101",
      "payload": "anything else to discuss?",
      "action": false,
      "timestamp": "2022-02-11T19:40:03+00:00"
    },
    {
      "id": "f7b779e444ef41028cffaba8a2b94376",
      "sender": "gribble",
      "payload": "https://github.com/bitcoin/bitcoin/issues/24118 | Add sweepwallet RPC by Xekyo \u00c3\u0082\u00c2\u00b7 Pull Request #24118 \u00c3\u0082\u00c2\u00b7 bitcoin/bitcoin \u00c3\u0082\u00c2\u00b7 GitHub",
      "action": false,
      "timestamp": "2022-02-11T19:40:05+00:00"
    },
    {
      "id": "df32934c36534c089507f430e8cbc231",
      "sender": "Murch",
      "payload": "That's it from me",
      "action": false,
      "timestamp": "2022-02-11T19:40:16+00:00"
    },
    {
      "id": "1e501258d3eb43d7a7df008ccb84e734",
      "sender": "achow101",
      "payload": "#endmeeting",
      "action": false,
      "timestamp": "2022-02-11T19:41:08+00:00"
    }
  ],
  "events": [
    {
      "event_type": "START_MEETING",
      "message": {
        "id": "98d28b76960943a08eb5f93fa3d0380c",
        "sender": "achow101",
        "payload": "#startmeeting",
        "action": false,
        "timestamp": "2022-02-11T19:00:18+00:00"
      },
      "operand": null,
      "id": "98d28b76960943a08eb5f93fa3d0380c",
      "timestamp": "2022-02-11T19:00:18+00:00"
    },
    {
      "event_type": "LINK",
      "message": {
        "id": "059a882b8c3a4154aef2e73d23d60edb",
        "sender": "gribble",
        "payload": "https://github.com/bitcoin/bitcoin/issues/1 | JSON-RPC support for mobile devices (\"ultra-lightweight\" clients) \u00c3\u0082\u00c2\u00b7 Issue #1 \u00c3\u0082\u00c2\u00b7 bitcoin/bitcoin \u00c3\u0082\u00c2\u00b7 GitHub",
        "action": false,
        "timestamp": "2022-02-11T19:08:54+00:00"
      },
      "operand": "https://github.com/bitcoin/bitcoin/issues/1",
      "id": "059a882b8c3a4154aef2e73d23d60edb",
      "timestamp": "2022-02-11T19:08:54+00:00"
    },
    {
      "event_type": "TOPIC",
      "message": {
        "id": "9dc2732fe7754e1cbd4326a2a4d9dbac",
        "sender": "achow101",
        "payload": "#topic Better name for `sweepwallet` RPC (Murch)",
        "action": false,
        "timestamp": "2022-02-11T19:34:11+00:00"
      },
      "operand": "Better name for `sweepwallet` RPC (Murch)",
      "id": "9dc2732fe7754e1cbd4326a2a4d9dbac",
      "timestamp": "2022-02-11T19:34:11+00:00"
    },
    {
      "event_type": "LINK",
      "message": {
        "id": "f7b779e444ef41028cffaba8a2b94376",
        "sender": "gribble",
        "payload": "https://github.com/bitcoin/bitcoin/issues/24118 | Add sweepwallet RPC by Xekyo \u00c3\u0082\u00c2\u00b7 Pull Request #24118 \u00c3\u0082\u00c2\u00b7 bitcoin/bitcoin \u00c3\u0082\u00c2\u00b7 GitHub",
        "action": false,
        "timestamp": "2022-02-11T19:40:05+00:00"
      },
      "operand": "https://github.com/bitcoin/bitcoin/issues/24118",
      "id": "f7b779e444ef41028cffaba8a2b94376",
      "timestamp": "2022-02-11T19:40:05+00:00"
    },
    {
      "event_type": "END_MEETING",
      "message": {
        "id": "1e501258d3eb43d7a7df008ccb84e734",
        "sender": "achow101",
        "payload": "#endmeeting",
        "action": false,
        "timestamp": "2022-02-11T19:41:08+00:00"
      },
      "operand": null,
      "id": "1e501258d3eb43d7a7df008ccb84e734",
      "timestamp": "2022-02-11T19:41:08+00:00"
    }
  ],
  "aliases": {},
  "vote_in_progress": false,
  "motion_index": null
}