poa-bridge/bridge/src
Yurii Rashkovskii 072291813c
Problem: withdraw_confirm failure
If a node configured as Foreign for the bridge and it has no validator
account unlocked the bridge crashes and produces the following message:

```
INFO:bridge::bridge::withdraw_confirm: got 1 new withdraws to sign
INFO:bridge::bridge::withdraw_confirm: withdraw is ready for signature
submission. tx hash 0x6493…4fa8
INFO:bridge::bridge::withdraw_confirm: signing
WARN:bridge: Bridge crashed with Error(Transport("Unexpected response
status code: 405 Method Not Allowed"), State { next_error: None,
backtrace: None })
Error(Transport("Unexpected response status code: 405 Method Not
Allowed"), State { next_error: None, backtrace: None })
```

Solution: sign messages locally

Closes #49
2018-04-28 15:50:25 -07:00
..
bridge Problem: withdraw_confirm failure 2018-04-28 15:50:25 -07:00
api.rs Problem: withdraw_confirm failure 2018-04-28 15:50:25 -07:00
app.rs Merge branch 'raw-transactions' into rpc+raw-transactions 2018-04-26 18:21:07 -07:00
config.rs Merge branch 'raw-transactions' into rpc+raw-transactions 2018-04-26 18:21:07 -07: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: unlocking account every time to sign a tx 2018-04-26 17:53:38 -07:00
lib.rs Problem: withdraw_confirm failure 2018-04-28 15:50:25 -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
transaction.rs Problem: unlocking account every time to sign a tx 2018-04-26 17:53:38 -07:00
util.rs remove redundant conversions between types 2018-02-07 14:58:50 +01:00