trm @profiler from Transaction.estimated_size - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 8467f95a2828c85ad2339eaddca32a2ee4d12634 (DIR) parent 77aefdfe71d0207f1167b01de598e6e6b6066f8d (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Thu, 6 Sep 2018 17:51:13 +0200 rm @profiler from Transaction.estimated_size in certain situations, estimated_size is called hundreds of times, flooding the log Diffstat: M electrum/transaction.py | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) --- (DIR) diff --git a/electrum/transaction.py b/electrum/transaction.py t@@ -1087,7 +1087,6 @@ class Transaction: def is_final(self): return not any([x.get('sequence', 0xffffffff - 1) < 0xffffffff - 1 for x in self.inputs()]) - @profiler def estimated_size(self): """Return an estimated virtual tx size in vbytes. BIP-0141 defines 'Virtual transaction size' to be weight/4 rounded up.