bitcoinwatcher 2.10__py3-none-any.whl → 2.11b1__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.
- bitcoin/address_listener/address_listener.py +4 -4
- {bitcoinwatcher-2.10.dist-info → bitcoinwatcher-2.11b1.dist-info}/METADATA +2 -2
- {bitcoinwatcher-2.10.dist-info → bitcoinwatcher-2.11b1.dist-info}/RECORD +6 -6
- {bitcoinwatcher-2.10.dist-info → bitcoinwatcher-2.11b1.dist-info}/WHEEL +1 -1
- {bitcoinwatcher-2.10.dist-info → bitcoinwatcher-2.11b1.dist-info}/LICENSE +0 -0
- {bitcoinwatcher-2.10.dist-info → bitcoinwatcher-2.11b1.dist-info}/top_level.txt +0 -0
@@ -39,10 +39,6 @@ class AbstractAddressListener(AbstractTxListener, ABC):
|
|
39
39
|
return
|
40
40
|
logger.debug(f"Extracting default tx data")
|
41
41
|
address_tx_data = self.default_tx_extractor.extract(tx)
|
42
|
-
# filter the address we are interested in
|
43
|
-
addresses_for_events = self.filter_address_tx_data(address_tx_data)
|
44
|
-
if len(addresses_for_events) == 0:
|
45
|
-
return
|
46
42
|
# get the address tx data from mempool for full details if any address matches
|
47
43
|
try:
|
48
44
|
logger.info(f"Extracting rpc tx data")
|
@@ -50,6 +46,10 @@ class AbstractAddressListener(AbstractTxListener, ABC):
|
|
50
46
|
except Exception as e:
|
51
47
|
logger.error(f"Error in getting rpc tx data, taking defaults", exc_info=True)
|
52
48
|
address_tx_data = address_tx_data
|
49
|
+
# filter the address we are interested in
|
50
|
+
addresses_for_events = self.filter_address_tx_data(address_tx_data)
|
51
|
+
if len(addresses_for_events) == 0:
|
52
|
+
return
|
53
53
|
|
54
54
|
for address in addresses_for_events:
|
55
55
|
self.consume(tx_hex=tx.raw_hex(), subscribed_address=address, address_tx_data=address_tx_data)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: bitcoinwatcher
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.11b1
|
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=
|
3
|
+
bitcoin/address_listener/address_listener.py,sha256=edcGSdV7mULmoeL5TSxJpkxRxzK0pETJslLEEXoYYLI,2445
|
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=mrnRPqUa2U2EMKu7rrPV_bW1sL2CJUfbAom0Zdamyd
|
|
25
25
|
bitcoin/utils/constants.py,sha256=irZLlArgica2VckyckEYxH5D5KjvdF52dtBMWswqw8k,52
|
26
26
|
bitcoin/utils/context_aware_logging.py,sha256=p3PuFnHjJcgEH8O9ng7UrXvW3SVDWGaeYgxysDuqRyI,1874
|
27
27
|
bitcoin/utils/inscription_utils.py,sha256=8QbOJ1o1n1bMFsPREGLzwFjnGzfuARgJCPr6ORhP44o,193
|
28
|
-
bitcoinwatcher-2.
|
29
|
-
bitcoinwatcher-2.
|
30
|
-
bitcoinwatcher-2.
|
31
|
-
bitcoinwatcher-2.
|
32
|
-
bitcoinwatcher-2.
|
28
|
+
bitcoinwatcher-2.11b1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
29
|
+
bitcoinwatcher-2.11b1.dist-info/METADATA,sha256=9R6TAJrjEmQ0FZux2qYzZS3blJJoOaq1Lw7DdWKs7iU,15023
|
30
|
+
bitcoinwatcher-2.11b1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
31
|
+
bitcoinwatcher-2.11b1.dist-info/top_level.txt,sha256=YdUgzLdCiMlrwaKyDqHA1acEd23QFko5bv7D6nBANJ0,8
|
32
|
+
bitcoinwatcher-2.11b1.dist-info/RECORD,,
|
File without changes
|
File without changes
|