fanquake a7f4f1a09c
Merge bitcoin/bitcoin#28894: wallet: batch all individual spkms setup db writes in a single db txn
f05302427386fe63f4929a7198652cb1e4ab3bcc wallet: batch external signer descriptor import (Sjors Provoost)
1f65241b733cd1e962c88909ae66816bc6451fd1 wallet: descriptors setup, batch db operations (furszy)
3eb769f15013873755e482707cad341bc1ce8a8c wallet: batch legacy spkm TopUp (furszy)
075aa44ceba41fa82bb3ce2295e2962e5fd0508e wallet: batch descriptor spkm TopUp (furszy)
bb4554c81e0d819d74996f89cbb9c00476aedf8c bench: add benchmark for wallet creation procedure (furszy)

Pull request description:

  Work decoupled from #28574.

  Instead of performing multiple single write operations per spkm
  setup call, this PR batches them all within a single atomic db txn.

  Speeding up the process and preventing the wallet from entering
  an inconsistent state if any of the intermediate transactions fail
  (which shouldn't happen but.. if it does, it is better to not store
  any spkm rather than storing them partially).

  To compare the changes, added benchmark in the first commit.

ACKs for top commit:
  Sjors:
    re-utACK f05302427386fe63f4929a7198652cb1e4ab3bcc
  achow101:
    ACK f05302427386fe63f4929a7198652cb1e4ab3bcc
  BrandonOdiwuor:
    ACK f05302427386fe63f4929a7198652cb1e4ab3bcc
  theStack:
    Code-review ACK f05302427386fe63f4929a7198652cb1e4ab3bcc

Tree-SHA512: aead8548473e17d4d53e8e7039bbaf5e8bf2fe83f33b33f81cdedefe8a31b7003ceb6d5379b1bad1ca2692e909492009a21284ec8338eede078df3d19046ab5a
2023-12-08 11:25:01 +00:00
..
2023-12-05 13:11:02 -05:00
2023-10-12 11:27:19 +02:00
2023-11-21 13:15:44 +00:00
2023-11-21 13:15:44 +00:00
2023-11-16 11:36:22 +10:00
2023-10-12 11:27:19 +02:00
2023-11-30 11:28:19 +01:00
2023-11-28 12:42:07 +01:00
2023-11-21 13:15:44 +00:00
2023-11-30 11:27:54 +01:00
2023-11-07 10:21:51 +09:00
2023-11-16 11:36:22 +10:00