Skip to content

Commit

Permalink
Update configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Aug 31, 2020
1 parent c5b2724 commit 734377a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 131 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ check-format:
! gofmt -s -l . | read;

validate-configuration-files:
go run main.go configuration:validate examples/configuration/bitcoin.json;
go run main.go configuration:validate examples/configuration/ethereum.json;
go run main.go configuration:validate examples/configuration/simple.json;
go run main.go configuration:create examples/configuration/default.json;
Expand Down
71 changes: 0 additions & 71 deletions examples/configuration/bitcoin.json

This file was deleted.

62 changes: 4 additions & 58 deletions examples/configuration/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,68 +6,13 @@
"online_url": "http://localhost:8080",
"data_directory": "",
"http_timeout": 10,
"retry_elapsed_time": 60,
"sync_concurrency": 8,
"transaction_concurrency": 16,
"tip_delay": 300,
"disable_memory_limit": false,
"log_configuration": false,
"construction": {
"offline_url": "http://localhost:8080",
"currency": {
"symbol": "ETH",
"decimals": 18
},
"minimum_balance": "0",
"maximum_fee": "5000000000000000",
"curve_type": "secp256k1",
"accounting_model": "account",
"scenario": [
{
"operation_identifier": {
"index": 0
},
"type": "transfer",
"status": "",
"account": {
"address": "{{ SENDER }}"
},
"amount": {
"value": "{{ SENDER_VALUE }}",
"currency": null
}
},
{
"operation_identifier": {
"index": 1
},
"related_operations": [
{
"index": 0
}
],
"type": "transfer",
"status": "",
"account": {
"address": "{{ RECIPIENT }}"
},
"amount": {
"value": "{{ RECIPIENT_VALUE }}",
"currency": null
}
}
],
"confirmation_depth": 10,
"stale_depth": 30,
"broadcast_limit": 3,
"ignore_broadcast_failures": false,
"change_scenario": null,
"clear_broadcasts": false,
"broadcast_behind_tip": false,
"block_broadcast_limit": 5,
"rebroadcast_all": false,
"new_account_probability": 0.5,
"max_addresses": 200
},
"construction": null,
"data": {
"active_reconciliation_concurrency": 16,
"inactive_reconciliation_concurrency": 4,
Expand All @@ -84,6 +29,7 @@
"reconciliation_disabled": false,
"inactive_discrepency_search_disabled": false,
"balance_tracking_disabled": false,
"coin_tracking_disabled": false
"coin_tracking_disabled": false,
"results_output_file": ""
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli
go 1.13

require (
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826173843-212f2d853cdc
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200831182036-449adc1bbece
github.com/fatih/color v1.9.0
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826163301-f4e18c63d4d4 h1:9ragT
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826163301-f4e18c63d4d4/go.mod h1:ERvHFmf3+JUQB/6ZysASs8CCEcWJMAhN+y/ioqnBsLQ=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826173843-212f2d853cdc h1:VHW//kbg1wfvHz/1wOvPBiFh+ljbAYT+dXbZcuPjNAY=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826173843-212f2d853cdc/go.mod h1:ERvHFmf3+JUQB/6ZysASs8CCEcWJMAhN+y/ioqnBsLQ=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200831181253-2c90cada22a0 h1:/IuP9Dle50p8d1/sN/A+zIMJ61j1hmc25lG9CzDb1Qw=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200831181253-2c90cada22a0/go.mod h1:ERvHFmf3+JUQB/6ZysASs8CCEcWJMAhN+y/ioqnBsLQ=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200831182036-449adc1bbece h1:BOSDN75he/HVJvCJzH2svBHXUTX+9v0X93bbRnduUeU=
github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200831182036-449adc1bbece/go.mod h1:ERvHFmf3+JUQB/6ZysASs8CCEcWJMAhN+y/ioqnBsLQ=
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
Expand Down

0 comments on commit 734377a

Please sign in to comment.