neo-go/integration
Roman Khimov b483c38593 block/transaction: add network magic into the hash
We make it explicit in the appropriate Block/Transaction structures, not via a
singleton as C# node does. I think this approach has a bit more potential and
allows better packages reuse for different purposes.
2020-06-18 12:39:50 +03:00
..
performance_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
plug.go .circleci: enable -coverpkg=all 2020-04-14 15:11:36 +03:00
README.md *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00

Integration package

The main goal is to have integration tests here.

Performance test

Right now we have performance_test.go to measure number of processed TX per second. In order to run it:

$ cd integration
$ go test -bench=. -benchmem

Result:

10000            402421 ns/op          177370 B/op         90 allocs/op
PASS
ok      github.com/nspcc-dev/neo-go/integration        4.360s

Which means that in 4.360 seconds neo-go processes 10 000 transactions.