This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "payment_network": {"address": "0xB9633dd9a9a71F22C933bF121d7a22008f66B908", "tokennetworks": [], "_type": "raiden.transfer.state.PaymentNetworkState", "_version": 0}, "block_number": 0, "_type": "raiden.transfer.state_change.ContractReceiveNewPaymentNetwork", "_version": 0} | |
| {"transaction_hash": "0xf74fe1122b8b811085aa9b2743670791a91fafa6f9c9512fb16e778cbbdb1432", "payment_network_identifier": "0xB9633dd9a9a71F22C933bF121d7a22008f66B908", "token_network": {"address": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", "token_address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "network_graph": {"token_network_id": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", "network": "[]", "channel_identifier_to_participants": {}, "_type": "raiden.transfer.state.TokenNetworkGraphState", "_version": 0}, "partneraddresses_to_channels": {}, "_type": "raiden.transfer.state.TokenNetworkState", "_version": 0}, "block_number": 6532988, "_type" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| from eth_utils import to_canonical_address | |
| from raiden.storage import serialize, sqlite | |
| from raiden.storage.wal import WriteAheadLog | |
| from raiden.transfer import node, views | |
| from raiden.transfer.architecture import StateManager | |
| from raiden.utils import serialization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 9,10c9,10 | |
| < "nonce": 3, | |
| < "transferred_amount": 10, | |
| --- | |
| > "nonce": 1, | |
| > "transferred_amount": 0, | |
| 32,33c32,33 | |
| < "nonce": 3, | |
| < "transferred_amount": 10, | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "transaction_hash": "0xbd49dd5bbe5175a23595ca8e2e7f77a19e3e1fe54fa4ae170aa5c8c62e992ec1", | |
| "token_network_identifier": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", | |
| "channel_state": { | |
| "identifier": 46, | |
| "chain_id": 1, | |
| "token_address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", | |
| "payment_network_identifier": "0xB9633dd9a9a71F22C933bF121d7a22008f66B908", | |
| "token_network_identifier": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", | |
| "reveal_timeout": 50, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "transaction_hash": "0xbd49dd5bbe5175a23595ca8e2e7f77a19e3e1fe54fa4ae170aa5c8c62e992ec1", | |
| "token_network_identifier": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", | |
| "channel_state": { | |
| "identifier": 46, | |
| "chain_id": 1, | |
| "token_address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", | |
| "payment_network_identifier": "0xB9633dd9a9a71F22C933bF121d7a22008f66B908", | |
| "token_network_identifier": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", | |
| "reveal_timeout": 50, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from raiden.transfer.architecture import StateManager | |
| from raiden.storage import serialize, sqlite | |
| from raiden.transfer import node | |
| from raiden.storage.wal import WriteAheadLog | |
| def replay_wal(storage): | |
| all_state_changes = storage.get_statechanges_by_identifier( | |
| from_identifier=0, | |
| to_identifier='latest', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| travis_fold:start:worker_info | |
| [0K[33;1mWorker information[0m | |
| hostname: fd103e0e-d1ca-4351-b2ff-f17423c6293a@1.production-1-worker-org-gce-n827 | |
| version: v4.5.1 https://github.com/travis-ci/worker/tree/ce724b775b2d5dc4c57b849f4cf4a123e1e34d70 | |
| instance: travis-job-3509424d-b09d-4880-b2ee-5febc8d3bab5 travis-ci-sardonyx-xenial-1539708025-01f27ab (via amqp) | |
| startup: 11.094853817s | |
| travis_fold:end:worker_info | |
| [0Ktravis_fold:start:system_info | |
| [0K[33;1mBuild system information[0m | |
| Build language: python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| travis_fold:start:worker_info | |
| [0K[33;1mWorker information[0m | |
| hostname: c152b6b9-8111-4995-9552-30ec878d8659@1.production-1-worker-org-gce-82t3 | |
| version: v4.5.1 https://github.com/travis-ci/worker/tree/ce724b775b2d5dc4c57b849f4cf4a123e1e34d70 | |
| instance: travis-job-88e1253b-f1cf-47eb-958a-ec27bd50976a travis-ci-sardonyx-xenial-1539708025-01f27ab (via amqp) | |
| startup: 7.129373486s | |
| travis_fold:end:worker_info | |
| [0Ktravis_fold:start:system_info | |
| [0K[33;1mBuild system information[0m | |
| Build language: python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| travis_fold:start:worker_info | |
| [0K[33;1mWorker information[0m | |
| hostname: 52563ff9-45b0-4c85-a7f7-06540557151a@1.production-1-worker-org-gce-kvff | |
| version: v4.5.1 https://github.com/travis-ci/worker/tree/ce724b775b2d5dc4c57b849f4cf4a123e1e34d70 | |
| instance: travis-job-bb9d2e61-beca-4067-ab6a-a3a2456da12d travis-ci-sardonyx-xenial-1539708025-01f27ab (via amqp) | |
| startup: 8.031046113s | |
| travis_fold:end:worker_info | |
| [0Ktravis_fold:start:system_info | |
| [0K[33;1mBuild system information[0m | |
| Build language: python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| travis_fold:start:worker_info | |
| [0K[33;1mWorker information[0m | |
| hostname: be799236-2bd2-4325-bce6-605b8d0c4388@1.production-2-worker-org-gce-hj42 | |
| version: v4.5.1 https://github.com/travis-ci/worker/tree/ce724b775b2d5dc4c57b849f4cf4a123e1e34d70 | |
| instance: travis-job-d73bf0a5-0c2a-4eab-a7eb-b1f20eec69a4 travis-ci-sardonyx-xenial-1539708025-01f27ab (via amqp) | |
| startup: 7.732156506s | |
| travis_fold:end:worker_info | |
| [0Ktravis_fold:start:system_info | |
| [0K[33;1mBuild system information[0m | |
| Build language: python |