Update documentation replacing old sokol nodes

pull/1138/head
Andrew Cravenho 6 years ago
parent 72480f2389
commit 063c393281
  1. 4
      README.md
  2. 8
      apps/ethereum_jsonrpc/README.md
  3. 4
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc.ex
  4. 2
      apps/ethereum_jsonrpc/test/support/ethereum_jsonrpc/case/parity/http_websocket.ex
  5. 2
      apps/ethereum_jsonrpc/test/support/ethereum_jsonrpc/web_socket/case/parity.ex
  6. 2
      apps/explorer/test/support/fixture/vcr_cassettes/block_importer_download_block_1_downloads_the_block.json
  7. 2
      apps/explorer/test/support/fixture/vcr_cassettes/block_importer_import_1_duplicate_block.json
  8. 2
      apps/explorer/test/support/fixture/vcr_cassettes/block_importer_import_1_pending.json
  9. 2
      apps/explorer/test/support/fixture/vcr_cassettes/block_importer_import_1_saves_the_block.json
  10. 2
      apps/explorer/test/support/fixture/vcr_cassettes/ethereumex_extensions_trace_transaction_1.json
  11. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_block_perform_1_duplicate.json
  12. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_block_perform_1_earliest.json
  13. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_block_perform_1_integer.json
  14. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_block_perform_1_latest.json
  15. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_block_perform_1_string.json
  16. 2
      apps/explorer/test/support/fixture/vcr_cassettes/import_receipt_perform_1.json
  17. 2
      apps/explorer/test/support/fixture/vcr_cassettes/internal_transaction_importer_import_1.json
  18. 2
      apps/explorer/test/support/fixture/vcr_cassettes/internal_transaction_importer_import_1_with_contract_creation.json
  19. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_binds_internal_transactions.json
  20. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_creates_a_from_address.json
  21. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_creates_a_to_address.json
  22. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_creates_a_to_address_from_creates.json
  23. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_download_transaction.json
  24. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_download_transaction_with_a_bad_hash.json
  25. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_import_1_failed.json
  26. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_import_1_out_of_gas.json
  27. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_import_1_pending.json
  28. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_import_1_receipt.json
  29. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_import_saves_the_transaction.json
  30. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_saves_the_association.json
  31. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_txn_without_block.json
  32. 2
      apps/explorer/test/support/fixture/vcr_cassettes/transaction_importer_updates_the_association.json
  33. 4
      apps/indexer/README.md
  34. 6
      docker/README.md

@ -204,8 +204,8 @@ mix coveralls.html --umbrella --exclude no_parity
| Protocol | URL |
|:----------|:-----------------------------------|
| HTTP | `https://sokol-trace.poa.network` |
| WebSocket | `wss://sokol-ws.poa.network/ws` |
| HTTP | `http://54.234.12.105:8545` |
| WebSocket | `ws://54.234.12.105:8546` |
##### Geth

@ -9,8 +9,8 @@ config:
```elixir
config :ethereum_jsonrpc,
url: "https://sokol.poa.network",
trace_url: "https://sokol-trace.poa.network",
url: "http://54.234.12.105:8545",
trace_url: "http://54.234.12.105:8545",
http: [recv_timeout: 60_000, timeout: 60_000, hackney: [pool: :ethereum_jsonrpc]]
```
@ -44,8 +44,8 @@ mix test --exclude no_parity
| Protocol | URL |
|:----------|:-----------------------------------|
| HTTP | `https://sokol-trace.poa.network` |
| WebSocket | `wss://sokol-ws.poa.network/ws` |
| HTTP | `http://54.234.12.105:8545` |
| WebSocket | `ws://54.234.12.105:8546` |
### Geth

@ -7,8 +7,8 @@ defmodule EthereumJSONRPC do
Configuration for parity URLs can be provided with the following mix config:
config :ethereum_jsonrpc,
url: "https://sokol.poa.network",
trace_url: "https://sokol-trace.poa.network",
url: "http://54.234.12.105:8545",
trace_url: "http://54.234.12.105:8545",
http: [recv_timeout: 60_000, timeout: 60_000, hackney: [pool: :ethereum_jsonrpc]]

@ -12,7 +12,7 @@ defmodule EthereumJSONRPC.Case.Parity.HTTPWebSocket do
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
http_options: [recv_timeout: 60_000, timeout: 60_000, hackney: [pool: :ethereum_jsonrpc]],
url: "https://sokol-trace.poa.network"
url: "http://54.234.12.105:8545"
],
variant: EthereumJSONRPC.Parity
)

@ -6,7 +6,7 @@ defmodule EthereumJSONRPC.WebSocket.Case.Parity do
import ExUnit.Callbacks, only: [start_supervised!: 1]
def setup do
url = "wss://sokol-ws.poa.network/ws"
url = "ws://54.234.12.105:8546"
web_socket_module = EthereumJSONRPC.WebSocket.WebSocketClient
web_socket = start_supervised!({web_socket_module, [url, []]})

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -8,7 +8,7 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://sokol-trace.poa.network"
"url": "http://54.234.12.105:8545"
},
"response": {
"binary": false,

@ -53,8 +53,8 @@ mix test --exclude no_parity
| Protocol | URL |
|:----------|:-----------------------------------|
| HTTP | `https://sokol-trace.poa.network` |
| WebSocket | `wss://sokol-ws.poa.network/ws` |
| HTTP | `http://54.234.12.105:8545` |
| WebSocket | `ws://54.234.12.105:8546` |
### Geth

@ -54,7 +54,7 @@ Available options are:
| `ETHEREUM_JSONRPC_VARIANT` | Variant of your JSON RPC service: `parity`, `geth` or `ganache` | `parity` |
| `ETHEREUM_JSONRPC_HTTP_URL` | HTTP JSON RPC URL Only for `geth` or `ganache` variant | Different per JSONRPC variant |
| `ETHEREUM_JSONRPC_WS_URL` | WS JSON RPC url | Different per JSONRPC variant |
| `ETHEREUM_JSONRPC_TRACE_URL` | Trace URL **Only for `parity` variant** | `https://sokol-trace.poa.network` |
| `ETHEREUM_JSONRPC_TRACE_URL` | Trace URL **Only for `parity` variant** | `http://54.234.12.105:8545` |
| `COIN` | Default Coin | `POA` |
| `LOGO` | Coin logo | Empty |
| `NETWORK` | Network | Empty |
@ -65,13 +65,13 @@ Available options are:
`ETHEREUM_JSONRPC_HTTP_URL` default values:
* For `parity` - `https://sokol.poa.network`
* For `parity` - `http://54.234.12.105:8545`
* For `geth` - `https://mainnet.infura.io/8lTvJTKmHPCHazkneJsY`
* For `ganache` - `http://localhost:7545`
`ETHEREUM_JSONRPC_WS_URL` default values:
* For `parity` - `wss://sokol-ws.poa.network/ws`
* For `parity` - `ws://54.234.12.105:8546`
* For `geth` - `wss://mainnet.infura.io/8lTvJTKmHPCHazkneJsY/ws`
* For `ganache` - `ws://localhost:7545`

Loading…
Cancel
Save