bitcoinwatcher 2.15__py3-none-any.whl → 2.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,10 +122,9 @@ class BitcoinRPCAddressDataExtractor(AbstractTxAddressDataExtractor):
122
122
  if bitmap_inscription is not None:
123
123
  bitmap_details = BitmapDetails()
124
124
  bitmap_details.fee = calculated_fee
125
- witness_size = len(tx.witness_data()) // 2 if tx.witness_data else 0
126
- virtual_size = (tx.size * 3 + witness_size) / 4
125
+ virtual_size = tx.vsize
127
126
  fee_per_vbyte = math.ceil(calculated_fee / virtual_size * 100) / 100 if virtual_size > 0 else 0
128
- bitmap_details.fee_per_vbyte = round(fee_per_vbyte, 2)
127
+ bitmap_details.fee_per_vbyte = fee_per_vbyte
129
128
  bitmap_details.bitmap_number = int(bitmap_inscription.split(".bitmap")[0])
130
129
  address_tx_data[0].bitmap_details = bitmap_details
131
130
  return address_tx_data
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitcoinwatcher
3
- Version: 2.15
3
+ Version: 2.16
4
4
  Summary: bitcoinwatcher is a Python library that implements a ZMQ subscriber and provides abstractions to build custom address watchers. This library is designed to make it easy for developers to monitor Bitcoin addresses and react to changes in their state.
5
5
  Author: twosatsmaxi
6
6
  License: Apache License
@@ -12,7 +12,7 @@ bitcoin/tests/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
12
12
  bitcoin/tests/data/transactions.py,sha256=qIX9seGYguQ1lvLOCF8oe3NQhMJZP0SsBmz1iFbszhg,396279
13
13
  bitcoin/tx_extractors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  bitcoin/tx_extractors/abstract_extractor.py,sha256=YLnuqc3jva15NpOX8xV4oB5PEXc6rXbG8Lx0cBXW66s,291
15
- bitcoin/tx_extractors/bitcoin_rpc.py,sha256=SBGxzUg9raOia9hmk8Aqy6d5gcmS42hfIQVFvmIeVSU,6038
15
+ bitcoin/tx_extractors/bitcoin_rpc.py,sha256=fj3V8PfEv8AOxSpVPaaaCSaWYBG5QiFnJBAEvGgIwcM,5923
16
16
  bitcoin/tx_extractors/default.py,sha256=KLT0EIbrp9yzFTQ-U5JRGI4ACHkvEMmycdXQGoPRU20,1509
17
17
  bitcoin/tx_extractors/mempool.py,sha256=mPPY1GOvBmZWn7UVP2sUaXtfcyeTCj-LmRDl2F4WhC8,2090
18
18
  bitcoin/tx_listener/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -25,8 +25,8 @@ bitcoin/utils/bitcoin_utils.py,sha256=hoYzduIO5vsBPW4imp-pNqsxmErtJMCaPURc6N_OKx
25
25
  bitcoin/utils/constants.py,sha256=bolLU7V3pFt6dQQ__CK5ESC8bkg0jO_Akn4iubaUum0,51
26
26
  bitcoin/utils/context_aware_logging.py,sha256=p3PuFnHjJcgEH8O9ng7UrXvW3SVDWGaeYgxysDuqRyI,1874
27
27
  bitcoin/utils/inscription_utils.py,sha256=8QbOJ1o1n1bMFsPREGLzwFjnGzfuARgJCPr6ORhP44o,193
28
- bitcoinwatcher-2.15.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
- bitcoinwatcher-2.15.dist-info/METADATA,sha256=db1mb7vF2iQYeIO9_g4SYqqbOl4WWvGqKWuVOhFJGHM,15043
30
- bitcoinwatcher-2.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- bitcoinwatcher-2.15.dist-info/top_level.txt,sha256=YdUgzLdCiMlrwaKyDqHA1acEd23QFko5bv7D6nBANJ0,8
32
- bitcoinwatcher-2.15.dist-info/RECORD,,
28
+ bitcoinwatcher-2.16.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
+ bitcoinwatcher-2.16.dist-info/METADATA,sha256=4j2L_uRs-0HCooklqJ3IXi2wOAy_o7JKta84_F1rPJw,15043
30
+ bitcoinwatcher-2.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ bitcoinwatcher-2.16.dist-info/top_level.txt,sha256=YdUgzLdCiMlrwaKyDqHA1acEd23QFko5bv7D6nBANJ0,8
32
+ bitcoinwatcher-2.16.dist-info/RECORD,,