29
29
<a href="https://github.com/dedis/d-voting/actions/workflows/go_test.yml">
30
30
<img src="https://github.com/dedis/d-voting/actions/workflows/go_test.yml/badge.svg">
31
31
</a>
32
- <a href="https://github.com/dedis/d-voting/actions/workflows/go_memcoin_test .yml">
33
- <img src="https://github.com/dedis/d-voting/actions/workflows/go_memcoin_test .yml/badge.svg">
32
+ <a href="https://github.com/dedis/d-voting/actions/workflows/go_dvoting_test .yml">
33
+ <img src="https://github.com/dedis/d-voting/actions/workflows/go_dvoting_test .yml/badge.svg">
34
34
</a>
35
35
<a href="https://github.com/dedis/d-voting/actions/workflows/go_scenario_test.yml">
36
36
<img src="https://github.com/dedis/d-voting/actions/workflows/go_scenario_test.yml/badge.svg">
@@ -277,7 +277,7 @@ results.
277
277
.
278
278
├── cli
279
279
│ ├── cosipbftcontroller Custom initialization of the blockchain node
280
- │ ├── <b >memcoin </b > Build the node CLI
280
+ │ ├── <b >dvoting </b > Build the node CLI
281
281
│ └── postinstall Custom node CLI setup
282
282
├── <b >contracts</b >
283
283
│ └── <b >evoting</b > D-Voting smart contract
@@ -505,13 +505,13 @@ In three different terminal sessions, from the root folder:
505
505
``` sh
506
506
pk=adbacd10fdb9822c71025d6d00092b8a4abb5ebcb673d28d863f7c7c5adaddf3
507
507
508
- LLVL=info memcoin --config /tmp/node1 start --postinstall \
508
+ LLVL=info dvoting --config /tmp/node1 start --postinstall \
509
509
--promaddr :9100 --proxyaddr :9080 --proxykey $pk --listen tcp://0.0.0.0:2001 --public //localhost:2001
510
510
511
- LLVL=info memcoin --config /tmp/node2 start --postinstall \
511
+ LLVL=info dvoting --config /tmp/node2 start --postinstall \
512
512
--promaddr :9101 --proxyaddr :9081 --proxykey $pk --listen tcp://0.0.0.0:2002 --public //localhost:2002
513
513
514
- LLVL=info memcoin --config /tmp/node3 start --postinstall \
514
+ LLVL=info dvoting --config /tmp/node3 start --postinstall \
515
515
--promaddr :9102 --proxyaddr :9082 --proxykey $pk --listen tcp://0.0.0.0:2003 --public //localhost:2003
516
516
```
517
517
@@ -569,7 +569,7 @@ you can run a test scenario:
569
569
570
570
``` sh
571
571
sk=28912721dfd507e198b31602fb67824856eb5a674c021d49fdccbe52f0234409
572
- LLVL=info memcoin --config /tmp/node1 e-voting scenarioTest --secretkey $sk
572
+ LLVL=info dvoting --config /tmp/node1 e-voting scenarioTest --secretkey $sk
573
573
```
574
574
575
575
You can also run scenario_test.go, by running in the integration folder this
@@ -643,7 +643,7 @@ A d-Voting node exposes Prometheus metrics. You can start an HTTP server that
643
643
serves those metrics with:
644
644
645
645
``` sh
646
- ./memcoin --config /tmp/node1 metrics start --addr 127.0.0.1:9100 --path /metrics
646
+ ./dvoting --config /tmp/node1 metrics start --addr 127.0.0.1:9100 --path /metrics
647
647
```
648
648
649
649
Build info can be added to the binary with the ` ldflags ` , at build time. Infos
@@ -653,7 +653,7 @@ are stored on variables in the root `mod.go`. For example:
653
653
versionFlag=" github.com/dedis/d-voting.Version=` git describe --tags` "
654
654
timeFlag=" github.com/dedis/d-voting.BuildTime=` date +' %d/%m/%y_%H:%M' ` "
655
655
656
- go build -ldflags=" -X $versionFlag -X $timeFlag " ./cli/memcoin
656
+ go build -ldflags=" -X $versionFlag -X $timeFlag " ./cli/dvoting
657
657
```
658
658
659
659
Note that ` make build ` will do that for you.
0 commit comments