openethereum/js
Marek Kotewicz fa6a0a6b60 Backports to beta (#7660)
* Improve handling of RocksDB corruption (#7630)

* kvdb-rocksdb: update rust-rocksdb version

* kvdb-rocksdb: mark corruptions and attempt repair on db open

* kvdb-rocksdb: better corruption detection on open

* kvdb-rocksdb: add corruption_file_name const

* kvdb-rocksdb: rename mark_corruption to check_for_corruption

* Hardening of CSP (#7621)

* Fixed delegatecall's from/to (#7568)

* Fixed delegatecall's from/to, closes #7166

* added tests for delegatecall traces, #7167

* Light client RPCs (#7603)

* Implement registrar.

* Implement eth_getCode

* Don't wait for providers.

* Don't wait for providers.

* Fix linting and wasm tests.

* Problem: AttachedProtocols don't get registered (#7610)

I was investigating issues I am having with Whisper support. I've
enabled Whisper on a custom test network and inserted traces into
Whisper handler implementation (Network<T> and NetworkProtocolHandler
for Network<T>) and I noticed that the handler was never invoked.

After further research on this matter, I found out that
AttachedProtocol's register function does nothing:
https://github.com/paritytech/parity/blob/master/sync/src/api.rs#L172
but there was an implementation originally:
99075ad#diff-5212acb6bcea60e9804ba7b50f6fe6ec and it did the actual
expected logic of registering the protocol in the NetworkService.

However, as of 16d84f8#diff-5212acb6bcea60e9804ba7b50f6fe6ec ("finished
removing ipc") this implementation is gone and only the no-op function
is left.

Which leads me to a conclusion that in fact Whisper's handler never gets
registered in the service and therefore two nodes won't communicate
using it.

Solution: Resurrect original non-empty `AttachedProtocols.register`
implementation

Resolves #7566

* Fix Temporarily Invalid blocks handling (#7613)

* Handle temporarily invalid blocks in sync.

* Fix tests.
2018-01-23 12:32:34 +01:00
..
assets Remove unused and duplicated files in js-old (#7082) 2017-11-21 17:38:06 +01:00
i18n Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463) 2018-01-05 13:49:07 +01:00
scripts [beta] Trigger js-precompiled (#7535) 2018-01-11 13:27:01 +01:00
src Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
test Fix dappIcon & Fix Signer Pending (#7338) 2017-12-19 17:54:09 +01:00
wasm Merge branch 'master' into ui-2 2017-10-16 12:41:41 +02:00
webpack Upgrade markdown-loader & marked (#7467) 2018-01-05 10:59:35 +01:00
.babelrc Update test execution 2017-09-18 10:15:36 +02:00
.codeclimate.yml Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.editorconfig Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.eslintrc.json Eslint formatting updates (#4234) 2017-01-23 13:39:52 +01:00
.flowconfig flow (#5606) 2017-05-18 10:06:59 +02:00
.gitignore Ui 2 packages (#6169) 2017-07-28 10:25:34 +02:00
.istanbul.yml Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.npmignore Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.npmrc Allow signing via Qr (#4881) 2017-03-31 23:36:24 +02:00
.stylelintrc.json Add lint:css 2016-12-14 16:42:26 +01:00
build.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
Cargo.precompiled.toml Bumped version (#6809) 2017-10-17 16:48:38 +02:00
Cargo.toml Bumped version (#6809) 2017-10-17 16:48:38 +02:00
LICENSE Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
package-lock.json Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
package.electron.json Merge branch 'master' into ui-2 2017-10-16 12:41:41 +02:00
package.json Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
README.md Switch --signer- to --ui- 2016-11-12 15:21:51 +01:00

parity.js

JavaScript APIs and UIs for Parity.

development

  1. Install Node if not already available
  2. Change to the js directory inside parity/
  3. Install the npm modules via npm install
  4. Parity should be run with parity --ui-no-validation [...options] (where options can be --chain testnet)
  5. Start the development environment via npm start
  6. Connect to the UI