8000 Fix transactions benchmarks in dynamic services by alekseysidorov · Pull Request #1346 · exonum/exonum · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix transactions benchmarks in dynamic services #1346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,19 @@ The project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
- **bytes** - non-null bytes of the given `ProofPath`, i.e. the first
`(bits_len + 7) / 8` bytes.

### New features

#### exonum

- New endpoint: `v1/transactions/subscribe`, which subscribe to new transaction events.
This endpoint accept optional parameters: `service_id` and `message_id`
(`message_id` as in derive macro `TransactionSet`). (#1335)

- New endpoint: `v1/ws`, which open websocket connection and allow to set multiple
subscription (for blocks and transaction, filtered by service and transaction id)
and send transactions (in hex, like in explorer) to blockchain
(examples can be found in related pull request). (#1335)

### Bug Fixes

#### exonum-testkit
Expand Down
2 changes: 1 addition & 1 deletion examples/cryptocurrency-advanced/frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": [
"env"
"@babel/preset-env"
]
}
10,015 changes: 7,057 additions & 2,958 deletions examples/cryptocurrency-advanced/frontend/package-lock.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions examples/cryptocurrency-advanced/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"dependencies": {
"axios": "^0.18.0",
"axios": "^0.19.0",
"big-integer": "^1.6.27",
"bootstrap": "^4.3.1",
"exonum-client": "^0.16.4",
Expand All @@ -37,17 +37,18 @@
"yargs-parser": "^9.0.2"
},
"devDependencies": {
"@babel/preset-env": "^7.4.5",
"axios-mock-adapter": "^1.15.0",
"babel-core": "^6.26.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.6.0",
"babel-jest": "^24.8.0",
"babel-loader": "^7.1.5",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"css-loader": "^0.28.11",
"css-loader": "^2.1.1",
"eslint": "^4.19.1",
"eslint-plugin-vue": "^4.4.0",
"jest": "^23.6.0",
"jest": "^24.8.0",
"regenerator-runtime": "^0.12.1",
"vue-loader": "^15.4.2",
"vue-template-compiler": "^2.5.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import MockAdapter from 'axios-mock-adapter'
import * as Blockchain from '../src/plugins/blockchain.js'
import actual from './data/actual.json'
import proof from './data/proof.json'
import 'babel-polyfill';

const mock = new MockAdapter(axios)
const bigIntRegex = /[0-9]+/i;
Expand Down
2 changes: 1 addition & 1 deletion examples/timestamping/frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": [
"env"
"@babel/preset-env"
]
}
Loading
0