Skip to content

Commit

Permalink
Stop listening
Browse files Browse the repository at this point in the history
  • Loading branch information
kenerwin88 committed Sep 2, 2021
1 parent 218dbe1 commit 6f39669
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[DEFAULT]
redis = localhost
geth = https://mainnet.infura.io/v3/f17ec523fbf646958cf941759c1320b0
geth = https://mainnet.infura.io/v3/a5a9955367a14bb79ecfe90b53306a8b
contract = 0x015A06a433353f8db634dF4eDdF0C109882A15AB
abi = [{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tiles","outputs":[{"name":"owner","type":"address"},{"name":"image","type":"string"},{"name":"url","type":"string"},{"name":"price","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"}],"name":"buyTile","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"},{"name":"image","type":"string"},{"name":"url","type":"string"},{"name":"price","type":"uint256"}],"name":"setTile","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"}],"name":"getTile","outputs":[{"name":"","type":"address"},{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"location","type":"uint256"}],"name":"TileUpdated","type":"event"}]
ownedTile = 000000000000000000000000000000000000000000000000000853b75b75b75b75b75b75b75b75b75b75b75b86b75000000b75dbbdbbdbbdbbdbbdbbdbbdbbdbbdbbdbbdbbca8000000b75dbbdbbdaadaadaadaadaadaadaadaadaadbbca8000000b75dbbdaadaadbbdbbdaadaadbbdbbdaadaadbbca8000000b75dbbdaadbbb75a64ca8daab75b75daadaadbbca8000000b75dbbdaadbba64853b86b86954954daadaadbbca8000000b75dbbdaadaaca8b86954954b75ca8daadaadbbca8000000b75dbbdaadaadaab86954853b75daadaadaadbbca8000000b75dbbdaadbbb75954b75b75954b75daadaadbbca8000000b75dbbdaadbbb75954ca8daab75954daadaadbbca8000000b75dbbdaadaadaadaadaadaadaadaadaadaadbbca8000000b75dbbdaadaadaadaadaadaadaadaadaadaadbbca8000000b86dbbdbbdbbdbbdbbdbbdbbdbbdbbdbbdbbdbbdaa000000b75ca8ca8ca8ca8ca8ca8ca8ca8ca8ca8ca8ca8b86000000000000000000000000000000000000000000000000000
Expand Down
Binary file modified images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions pixelmap_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,3 @@ def new_transaction_callback(transaction_hash):
render_full_image()
render_html()


filter = contract.events.TileUpdated
print("Watching patiently for transactions...")

while True:
gevent.sleep(random.random())

filter.stop_watching(130)

0 comments on commit 6f39669

Please sign in to comment.