Commit Graph

41 Commits

Author SHA1 Message Date
Yusef Napora
8aef427fd8 implement halting as state machine 2020-07-01 12:09:10 -04:00
Yusef Napora
04311d6c1a fix rebase cruft 2020-07-01 12:06:50 -04:00
Yusef Napora
9cb809ac60 add DebugSpew helper 2020-07-01 12:05:45 -04:00
Raúl Kripalani
7f3716504b
refactor lotus recipes to make them more manageable. (#86)
- Each role now has its own file (role_*.go).
- Options have their own file (lotus_opts.go).
- Sync service constructions have their own file (sync.go).
- Utilities are functionally grouped in files ({deals,retrieval}.go).
2020-06-30 23:02:01 +01:00
Anton Evangelatov
af582aff02
register and export lotus metrics (#84) 2020-06-30 18:02:02 +02:00
Anton Evangelatov
46beab3cf1 fixup 2020-06-30 17:59:42 +02:00
Anton Evangelatov
0a9af6ad5c extract startServer 2020-06-30 17:53:27 +02:00
Anton Evangelatov
e3d2d2e7c1 extract withApiEndpoint 2020-06-30 17:50:21 +02:00
Anton Evangelatov
63bce1a426 extract starting of rpc servers 2020-06-30 13:56:24 +02:00
Anton Evangelatov
954ad1f396 fixup 2020-06-30 13:31:50 +02:00
Anton Evangelatov
33e60df301 resolved merge conflicts 2020-06-30 13:23:02 +02:00
Anton Evangelatov
204714a01f wip 2020-06-30 13:20:10 +02:00
Anton Evangelatov
eec5c23671 working client rpc 2020-06-30 13:18:02 +02:00
vyzo
da85855a6b option to turn on natural time mining 2020-06-29 20:05:43 +03:00
Anton Evangelatov
50b9a7f212 get seq num based on role, not based on group 2020-06-29 18:38:28 +02:00
Anton Evangelatov
222d718ccd wip 2020-06-29 14:57:55 +02:00
Anton Evangelatov
f91364fb3e extract common vars 2020-06-26 17:00:13 +02:00
vyzo
3d5f58c8b8 sort preseals by miner GroupSeq 2020-06-26 17:30:44 +03:00
vyzo
f7af27f1d2 fix miner synchronization 2020-06-26 17:27:10 +03:00
vyzo
30a6361a8f
fix typo
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
2020-06-26 14:06:45 +03:00
vyzo
71503cce8b add pubsub tracer config to scaffolding 2020-06-26 11:58:56 +03:00
Yusef Napora
fda66f5bd9 move drand to common_roles & fix mock randomness override 2020-06-25 12:18:08 -04:00
Yusef Napora
75ff8d0689 add random_beacon_type param, default to mock randomness 2020-06-25 11:35:55 -04:00
Yusef Napora
e225a644f4 run drand gossip relays alongside each drand node 2020-06-25 11:35:55 -04:00
Yusef Napora
4a337785b5 rebase drand setup onto master 2020-06-25 11:35:55 -04:00
vyzo
b476bc86ce synchronize all miners to mine next block 2020-06-25 14:16:04 +03:00
vyzo
58923fe2ff some baseline cleanup
1. Miners wait for all client's signal to stop mining
2. Miners don't care about client addresses
3. Moved collect methods to node.go
2020-06-25 14:10:00 +03:00
vyzo
5cccc81abf keep log level at WARN so that we see what's happening in the system 2020-06-25 13:52:02 +03:00
Anton Evangelatov
831cd2e71d move init to node.go 2020-06-25 12:33:52 +02:00
Anton Evangelatov
9f9c30d406 speed up block mining 2020-06-25 12:21:14 +02:00
Anton Evangelatov
ae3fcca543 barrier for stop mining, instead of sleep 2020-06-25 12:00:56 +02:00
Anton Evangelatov
801a4f79b9 completed deal 2020-06-24 18:15:52 +02:00
Anton Evangelatov
bb758854fb move init to main, add more logging 2020-06-24 16:46:12 +02:00
Anton Evangelatov
d4f883c1b0 connect miner node to its full node??? 2020-06-24 15:40:30 +02:00
Anton Evangelatov
e8f037cac8 broken mining and deal sealing 2020-06-24 15:29:27 +02:00
Anton Evangelatov
db19764130 generate random data, start deal 2020-06-24 15:10:05 +02:00
Anton Evangelatov
b0d0a7a04a improvements 2020-06-24 14:34:19 +02:00
Anton Evangelatov
f1181ce9c2 broadcast addrs, and connect miner and client 2020-06-24 14:34:19 +02:00
Anton Evangelatov
e9402da131
fix ignored barrier (#58) 2020-06-24 14:33:31 +02:00
Anton Evangelatov
ebd0e85d65 extract subscriptions 2020-06-24 13:10:35 +02:00
vyzo
448bbf3710
generic test plan scaffolding, with baseline plan (#39)
* test plan scaffolding

* generify the testplan role dispatch

* manifest.toml

* initial go.mod and go.sum

* correct name

* gomod: update from build

* node construction in scaffolding

* fix test runner return type

* remove offending comments

* add initial composition, and fix context bug

* debug lines

* check errors from node construction

* specify Repo after Online option

* add power/proof type initialization code

* fix baseline composition

* use new docker-images (build/run) introduced in the #48 PR

* upgrade go-sdk to master (#51)

* fix types for run.InvokeMap

* fix miner actor sequence address

* explictly specify listen address for nodes on the data network

* make a separate full node for the miner

* initialize the wallet for the full node before creating the storage node

* go mod tidy

* also set the listen address for the miner node

* circleci to build the soup testplan

* extract topics

* test runner: pass the role map to doRun for generic runner

* use a wrapper TestEnvironment to encapsulate the runenv and initCtx

* embed RunEnv and InitContext into TestEnvironment for better ergonomics

* remove empty import

* extract stateReady

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
2020-06-24 12:52:23 +02:00