bitcoinwatcher 2.12__py3-none-any.whl → 2.13__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.
@@ -50,7 +50,12 @@ class AbstractAddressListener(AbstractTxListener, ABC):
50
50
  # filter the address we are interested in
51
51
  addresses_for_events = self.filter_address_tx_data(address_tx_data)
52
52
 
53
- if len(addresses_for_events) == 0 and not has_satflow_op_return(tx):
53
+ if len(addresses_for_events) == 0:
54
+ if has_satflow_op_return(tx):
55
+ logger.info(f"Transaction {tx.txid} has satflow op_return but no addresses to listen to.")
56
+ self.consume(tx_hex=tx.raw_hex(), subscribed_address="SATFLOW", address_tx_data=address_tx_data)
57
+ else:
58
+ logger.debug(f"No addresses to listen to for transaction {tx.txid}.")
54
59
  return
55
60
 
56
61
  for address in addresses_for_events:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitcoinwatcher
3
- Version: 2.12
3
+ Version: 2.13
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
@@ -1,6 +1,6 @@
1
1
  bitcoin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  bitcoin/address_listener/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- bitcoin/address_listener/address_listener.py,sha256=zx3Vqb5HWDX5CM2ypy2b3SvOKsxilLS3jeJRQXvchwU,2542
3
+ bitcoin/address_listener/address_listener.py,sha256=vMIuCALrYo-Lh-olzikualMKTaFvxS4I_hebhUxW9CU,2874
4
4
  bitcoin/address_listener/simple_address_listener.py,sha256=yQTxWVthsMiYkXzWYmGMCzP0LWTUokgWFkqEf8GsUB4,1674
5
5
  bitcoin/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  bitcoin/models/address_tx_data.py,sha256=KSSCzAjYxLEgXIELVSsnSEhgY65xi0K3HUjoamVV_LQ,750
@@ -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.12.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
- bitcoinwatcher-2.12.dist-info/METADATA,sha256=PiVDkuw2hi8kXV1r0E1Nqg_E2geyqcY9dFBqIYXNZCA,15043
30
- bitcoinwatcher-2.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- bitcoinwatcher-2.12.dist-info/top_level.txt,sha256=YdUgzLdCiMlrwaKyDqHA1acEd23QFko5bv7D6nBANJ0,8
32
- bitcoinwatcher-2.12.dist-info/RECORD,,
28
+ bitcoinwatcher-2.13.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
+ bitcoinwatcher-2.13.dist-info/METADATA,sha256=JHDTZ035ubdz0pVyH-PJK8h1oNdBXzSLD6otqsCdYaA,15043
30
+ bitcoinwatcher-2.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ bitcoinwatcher-2.13.dist-info/top_level.txt,sha256=YdUgzLdCiMlrwaKyDqHA1acEd23QFko5bv7D6nBANJ0,8
32
+ bitcoinwatcher-2.13.dist-info/RECORD,,