poa-bridge/bridge/src
Yurii Rashkovskii 976256780b
Problem: unknown balance warning
Upon startup, bridge produces the following warning:

```
WARN:bridge::bridge::deposit_relay: foreign contract balance is unknown
```

This happens because the RPC response from the node might
not come/get processed immediately.

By itself this warning means that the deposit_relay won't
perform any operations.

Solution: don't commence operations until balances are retrieved

Also, indicate when balances are retrieved:

```
INFO:bridge::bridge: Retrieved home contract balance
INFO:bridge::bridge: Retrieved foreign contract balance
```

This shows us that the balances are successfully retrieved and
bridge can commence its operations.
2018-04-16 07:21:31 -07:00
..
bridge Problem: unknown balance warning 2018-04-16 07:21:31 -07:00
api.rs Problem: bridge crashes with insufficient balance 2018-04-04 10:42:16 +04:00
app.rs Problem: intentional bridge shutdowns 2018-03-15 21:14:37 +07:00
config.rs updated web3 to latest version and resolved build issues 2018-02-07 14:50:49 +01:00
contracts.rs Problem: integration tests won't compile or pass 2018-03-05 15:23:36 +07:00
database.rs updated web3 to latest version and resolved build issues 2018-02-07 14:50:49 +01:00
error.rs Problem: bridge crashes with insufficient balance 2018-04-04 10:42:16 +04:00
lib.rs Problem: bridge dies when Parity is stopped 2018-02-28 05:35:18 +07:00
macros.rs repo overhaul, separated binary from library, closes #10, added tests crate 2017-08-25 00:36:13 +02:00
message_to_mainnet.rs fixes #23 2018-02-25 00:21:23 +03:00
signature.rs remove panics. improve error handling for signature. 2018-02-15 12:49:12 +01:00
util.rs remove redundant conversions between types 2018-02-07 14:58:50 +01:00