Skip to content

Commit

Permalink
Merge pull request #136 from nikkolasg/module
Browse files Browse the repository at this point in the history
go module 1st impl.
  • Loading branch information
nkeywal authored Aug 1, 2019
2 parents ade3b2c + e6f0b80 commit f0b00bc
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ logarithmically with the number of nodes both in communication and re- source
consumption. Handel aggregates 4000 BN256 signatures with an average of 900ms
completion time and an average of 56KBytes network consumption.

## Installation

This library uses [go modules](https://github.com/golang/go/wiki/Modules), so
make sure either you clone this library outside your `$GOPATH` or use
`GO111MODULE=on` before building it.

If you want to hack around the library, you can find more information about the
internal structure of Handel in the
[HACKING.md](https://github.com/consensys/handel/blob/master/HACKING.md) file.
Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/measure.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"sync"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
)

var global struct {
Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"
"sync"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
)

// This file handles the collection of measurements, aggregates them and
Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/rtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package monitor
import (
"syscall"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
)

// Converts microseconds to seconds.
Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/rtime_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package monitor
import (
"syscall"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
)

// Returns the system and the user CPU time used by the current process so far.
Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"sync"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
"github.com/montanaflynn/stats"
)

Expand Down
2 changes: 1 addition & 1 deletion simul/monitor/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/dedis/onet/log"
"go.dedis.ch/onet/v3/log"
)

func TestNewDataFilter(t *testing.T) {
Expand Down
Binary file removed simul/p2p/gossip
Binary file not shown.
Binary file modified simul/p2p/libp2p/libp2p
Binary file not shown.

0 comments on commit f0b00bc

Please sign in to comment.