Commit Graph

226 Commits

Author SHA1 Message Date
Adam Babik e214e1e270
Manage discovery from flags and refactor handling interrupt signals (#557) 2018-01-22 21:16:13 -08:00
Adam Babik c153a60dc3
Clean up whisper log delivery (#555) 2018-01-19 15:53:16 +01:00
Dmitry Shulyak 0771e7d1b7 Use single codepath for sending transactions to a local and remote nodes (#527)
- new EthereumTransactor that provides higher level API for working with ethereum network, and it is fully conformant with ethclient
- new test rpc service that improves flexibility and coverage of txqueue manager tests
- run complete transaction sequantially for each address
- go-ethereum: Get pending nonce from transaction pool
- add a patch with getting nonce from transaction pool
2018-01-18 17:55:17 +01:00
F. Eugene Aumson 83763e0401 Make gas linter happy (#544) 2018-01-17 17:46:21 +01:00
Ivan Daniluk f93cd81d83
Upgrade to geth 1.7.3 and add geth patches (#492) 2018-01-15 21:26:41 +01:00
Adam Babik 953790c641 Add a test case to reproduce the issue (#548) 2018-01-11 18:17:41 +01:00
Adrià Cidre 7ab6a062ec [#516] Fix panic based on wrong error in setImmediate function (#535)
Additionally, this change clean ups and improves organization of `geth/jail/internal/timers` package.
2018-01-10 10:42:40 +01:00
Igor Mandrigin 21132a441f Remove creating global `_status_catalog` variable 2018-01-09 17:53:33 +01:00
Caner Çıdam 5c8b7758d5 add the missing dot at the end of comment sentence 2018-01-04 09:38:53 +01:00
Caner Çıdam a3663fa1cc fewer s.reinitMock() lines using SetupTest 2018-01-04 09:38:53 +01:00
Caner Çıdam 2d4391704e short comment for TestAccounts 2018-01-04 09:38:53 +01:00
Caner Çıdam 813c6df5f0 reduce error check in TestSelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 83e71f3e4f fix order of s.Equal args 2018-01-04 09:38:53 +01:00
Caner Çıdam 74f38d4f94 update rest of the tests: expected errors 2018-01-04 09:38:53 +01:00
Caner Çıdam c0acd033a1 update table-driven tests: expected errors 2018-01-04 09:38:53 +01:00
Caner Çıdam 90123f4f40 remove unnecessary check in TestAddressToDecryptedAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 491b4ca3ce split TestCreateAndRecoverAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam ca5b34afb7 verify accounts in TestAddressToDecryptedAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam f31fcd6c90 fix NotNil misuse 2018-01-04 09:38:53 +01:00
Caner Çıdam 1daeeee4fd few changes to TestSelectedAndReSelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam b37a1ced0d remove repetitive account creation from tests 2018-01-04 09:38:53 +01:00
Caner Çıdam 8c1b1e265c add TestAddressToDecryptedAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 1326a1ab36 add TestAccounts 2018-01-04 09:38:53 +01:00
Caner Çıdam f3257da15e add TestLogout and test errors 2018-01-04 09:38:53 +01:00
Caner Çıdam 1f0655eba6 add TestSelectedAndReSelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam f92aff3eb0 add TestSelectedAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 48d75d135c finalize TestCreateChildAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 3fd4e04f59 workaround for EXPECT().Times(int) 2018-01-04 09:38:53 +01:00
Caner Çıdam 7b3c0d9e85 use a test suite to keep it DRY 2018-01-04 09:38:53 +01:00
Caner Çıdam 6ce30e158b remove extra lines & rename whisper service var 2018-01-04 09:38:53 +01:00
Caner Çıdam f15d16ba1e add test cases for SelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 3b4ee527f2 remove unnecessary comment 2018-01-04 09:38:53 +01:00
Caner Çıdam 3f952ebb50 rename 2018-01-04 09:38:53 +01:00
Caner Çıdam 521b841f53 don't fail on empty password 2018-01-04 09:38:53 +01:00
Caner Çıdam 87531d015f refactor tests 2018-01-04 09:38:53 +01:00
Caner Çıdam 18c41df326 tests for account creation and recovery 2018-01-04 09:38:53 +01:00
Pedro Pombeiro d4782a3f1e Change expected warning log level from `WARNING` to `WARN` (#526) 2018-01-03 15:11:21 +01:00
Donnie Adams 373fc86d1e Change Loop API to prevent it from accepting tasks when the loop is closed #415 (#448) 2017-12-28 22:50:36 +02:00
Adam Babik b7fb51d92a
Refactor shh_requestMessages method (#513) 2017-12-21 11:26:01 +01:00
b00ris ba6c96532b add enode to request messages params (#508) 2017-12-12 12:00:17 +01:00
Caner Çıdam 34df7e8abb CreateAndInitCell should allow reinitializing a cell #497 (#500)
Changes Jail.createCell to Jail.obtainCell, which alters the error-throwing behaviour for better Jail.CreateAndInitCell

This PR allows cells to be reinitialized without being recreated.

Important changes:
- Calling with same cell ID won't cause any errors.
- Consecutive calls with same cell ID only reinitialize existing cell.
- Parse in library.go uses StatusAPI.CreateAndInitCell.
2017-12-08 22:32:30 +07:00
Evgeny Danilenko 919ab285d3 add password for MailServer encryption (#494) 2017-12-07 17:58:11 +01:00
b00ris 9559ff074a Support for historic messages from MailServer (#503)
Add `shh_requestMessages` RPC method. It sends a message to MailServer that can return cached, possibly expired, Whisper message.
2017-12-07 14:37:43 +01:00
Evgeny Danilenko 596b7ea2e1 whisper standalone mode (#498) 2017-12-07 13:07:45 +01:00
Adam Babik ac76e4731f
Prepare wnode-status to support MailServer (#477) 2017-12-04 17:11:14 +01:00
Frank Mueller bddf15d74f Add internal RPC server and statusd-cli client (#463) 2017-12-02 19:51:55 +01:00
b00ris c530611642 Fix race #452 (#454)
It fixes race conditions in `geth/signal`.
2017-11-28 14:17:15 +01:00
b00ris 6bf980a1a7 Issue/fix dataraces in jail tests#457 (#460) 2017-11-27 22:56:52 +01:00
monokh 0a82e67379 Improve JSON-RPC handling for raw requests/responses, Fixes #364 (#458) 2017-11-27 19:53:33 +01:00
Adam Babik a22638f421 be consistent with comments 2017-11-23 13:51:52 +01:00