hunjixin
869e6a76c1
update make gen
2021-03-29 10:28:25 +08:00
Dirk McCormick
85eab9e00e
fix: make docsgen
2021-03-26 09:53:01 +01:00
hunjixin
449b33abee
remote calc winningpost proof
2021-03-26 13:32:03 +08:00
Aayush Rajasekaran
3e6dcb578b
Lotus version 1.5.3
2021-03-24 00:07:27 -04:00
Łukasz Magiera
c41777dcd2
API proxy struct codegen ( #5854 )
...
* mostly working api proxy gen
* api: Consistent api names
* fix docsgen
* regenerate api struct
* api: expand external interfaces
* Add missing gen files
* apigen: fix perm detection
* api: Move perm tags to the interface
* gofmt
* worker perms
* docsgen
* docsgen: ignore tag comments
* apigen: add codegen warning
* gofmt
* missing actor type
* docsgen
* make linter happy
* fix lint
* apigen: use directives for tags
* docsgen
* regen openrpc docs
2021-03-23 13:42:56 +01:00
Anton Evangelatov
22217b7cae
Merge branch 'master' into nonsense/cli-show-deals
2021-03-23 13:58:26 +02:00
Łukasz Magiera
be704cf0f0
docsgen
2021-03-23 10:39:56 +01:00
Łukasz Magiera
43d9cc36a4
OpenRPC Support ( #5843 )
...
* main: init implement rpc.Discover RPC method
This implement the basic functionality for the method
over HTTP RPC.
Signed-off-by: meows <b5c6@protonmail.com>
* main,go.mod,go.sum: init example with go-openrpc-reflect lib
Signed-off-by: meows <b5c6@protonmail.com>
Conflicts:
go.mod
go.sum
* main: make variable name human-friendly
Signed-off-by: meows <b5c6@protonmail.com>
* main,go.mod,go.sum: init impl of go-openrp-reflect printing document
Signed-off-by: meows <b5c6@protonmail.com>
Conflicts:
go.mod
go.sum
* go.mod,go.sum: use go-openrpc-reflect and open-rpc/meta-schema hackforks
This is for development only.
Versions need to be bumped when they're ready for use
as canonical remotes.
Signed-off-by: meows <b5c6@protonmail.com>
* main,openrpc,main: refactor openrpc supporting code to own package
This eliminates code duplication.
Signed-off-by: meows <b5c6@protonmail.com>
* main: add rpc.Discover to openrpc document
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: fix rpc.discover method name casing
Also fixes casing stuff for the rest of Filecoin.
methods.
Signed-off-by: meows <b5c6@protonmail.com>
* Revert "main: add rpc.Discover to openrpc document"
This reverts commit 116898efb10f33e405ac74acb1aa6daefcd46a62.
* main: fix document creation method name
This fixes an issue caused with the latest reverting
commit.
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen,openrpc: refactor to share api parsing, etc as docgen exported stuff
Signed-off-by: meows <b5c6@protonmail.com>
Makefile: fix docgen refactoring for makefile use of command
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: add schema.examples to app reflector
There are quite of few of these already registered
for the docgen command, so it makes sense to use
those!
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: init method pairing examples
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump go.mod to use latest meta-schema and openrpc-reflect versions
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: init SchemaType mapper function
This function will handle the manual configurations
for app-specific data types w/r/t their json schema
representation.
This is useful for cases where the reflect library
is unable to provide a sufficient representation
automatically.
Provided in this commit is an initial implementation
for the integerD type (assuming number are represented
in the API as hexs), and a commonly used cid.Cid type.
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: tame dependencies by bumping etclabscore/go-openrpc-reflect
This removes a problematic dependency
on github.com/ethereum/go-ethereum, which was
imported as a dependency for a couple github.com/etclabscore/go-openrpc-reflect
tests.
etclabscore/go-openrpc-reflect v0.0.36 has removed this
dependency, so this commit is the result of bumping
that version and then running 'go mod tidy'
This is in response to a review at
https://github.com/filecoin-project/lotus/pull/4711#pullrequestreview-535686205
Date: 2020-11-21 06:52:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: add 'miner' arg to openrpc gen cmd
This allows the command to EITHER
generate the doc for Full or Miner APIs.
See comment for usage.
Date: 2020-11-21 07:48:05-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgen: add missing examples for Miner API
Generating the Miner API OpenRPC doc
(via 'go run ./api/openrpc/cmd miner') caused
the example logic to panic because some types
were missing.
This commit adds those missing types, although
I'm not an expert in the API so I can't
suggest that the example values provided are
ideal or well representative.
Date: 2020-11-21 07:50:21-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build/openrpc/full.json,build/openrpc/miner.json: add build/openrpc/[full/miner].json docs
These will be used as static documents
provided by the rpc.discover method.
Date: 2020-11-21 07:51:39-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: init go-rice openrpc static assets
Date: 2020-11-21 08:23:06-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: remove rpc.discover implementation from runtime plugin
Instead of generating the doc on the fly,
we're going to serve a static asset.
Rel https://github.com/filecoin-project/lotus/pull/4711#pullrequestreview-535686205
This removes the runtime implementation from the
RPC server construction.
Date: 2020-11-21 08:41:20-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,common: add Discover(ctx) method to CommonAPI interface and structs
Date: 2020-11-21 08:41:56-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: use rpc server method aliasing for rpc.discover
This depends on a currently-forked change at
filecoin-project/go-jsonrpc 8350f9463ee451b187d35c492e32f1b999e80210
which establishes this new method RPCServer.AliasMethod.
This solves the problem that the OpenRPC
spec says that the document should be served
at the system extension-prefixed endpoing
rpc.discover (not Filecoin.Discover).
In fact, the document will be available at BOTH
endpoints, but that duplicity is harmless.
Date: 2020-11-21 09:18:26-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,build,common: rpc.discover: return json object instead of string
Instead of casting the JSON asset from bytes to string,
unmarshal it to a map[string]interface{} so the
server will provide it as a JSON object.
Date: 2020-11-21 09:27:11-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile: merge resolve: docsgen command path
Date: 2020-11-22 07:19:36-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* apistruct,main,docgen,openrpc: merge resolve: fix func exporteds, signatures
Date: 2020-11-22 07:31:03-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: 'get get' auto-bumps version
Date: 2020-11-22 07:31:44-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile,docgen,main,build/openrpc: refactor openrpc documentation generation
This creates Makefile command docsgen-openrpc-json,
and refactors the docsgen command to generate both
the markdown and openrpc json documents, redirecting
the output of the openrpc json documentation to
the build/openrpc/ directory, where those json
files will be compiled as static assets via go-rice
boxes.
The api/openrpc/cmd now uses usage argumentation
congruent to that of the docgen command (switching
on API context).
Date: 2020-11-22 08:01:18-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen_openrpc: rename api/openrpc -> api/docgen-openrpc
Renames the package as well.
This is intended to parallel the
existing docgen package and command
namespacing.
Date: 2020-11-22 10:34:46-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,docgen,build,build/openrpc: use typed Discover response
Instead of using a map[string]interface{}, use
a typed response for the Discover method implementation.
This avoids having to set a docgen Example for
the generic map[string]interface{} (as an openrpc document)
which both pollutes the generic type and lacks
useful information for the Discover method example.
Date: 2020-11-22 08:31:16-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* apistruct,build,main,impl: implement Discover method for Worker and StorageMiner APIs
Methods return static compiled assets respective
to the APIs.
Date: 2020-11-22 08:57:18-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgen_openrpc,build/openrpc: remove timestamping from openrpc doc info
This should allow openrpc docs generated at different
times to be equal. This is important because the CI
(Circle) runs the docgen command and tests that
the output and the source are unchanged (via git diff).
Date: 2020-11-22 10:47:07-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen_openrpc,main,build: fix lint issues
Fixes goimports, staticcheck, golint issues.
Date: 2020-11-22 11:06:46-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc: fix: don't use an underscore in package name (golint)
Date: 2020-11-22 11:07:53-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.sum: fix: mod-tidy-check (run 'go mod tidy')
Date: 2020-11-22 11:09:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump filecoin-project/go-jsonrpc dep to latest
This version includes the necessary RPCServer.AliasMethod
method.
Date: 2020-11-23 12:16:15-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile,main,build,build/openrpc: init gzipped openrpc static docs
Date: 2020-11-24 06:15:06-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: refactor gzip reading
Date: 2020-11-24 06:18:34-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: add basic test for openrpc doc from static assets
Date: 2020-11-24 06:30:23-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: handle reader Close error
This keeps the errcheck linter happy.
Date: 2020-11-24 06:33:14-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.sum: run 'go mod tidy'
Date: 2020-11-24 06:36:07-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: go mod tidy
Tidying up after resolving the merge conflicts
with master at go.mod
Date: 2020-11-24 06:40:45-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump filecoin-project/go-jsonrpc to latest
This is a repeat of 76e6fd2, since the latest merge
to master seems to have reverted this.
Date: 2020-11-24 06:42:30-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc,build/openrpc: remove method example pairings, improve schema examples
Removing method example pairings since they were
redundant to schema examples and were not
implemented well.
Improved schema examples by using the ExampleValue
method instead of the map lookup.
Made a note in the comment here that this is
not ideal, since we have to make a shortcut assumption
/workaround by using 'unknown' as the method name
and the typea as its own parent.
Luckily these values aren't heavily used by the
method logic.
Date: 2020-11-27 12:57:36-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc: use generic number jsonschema for number types
Previously used an integer schema assuming
hex encoding. It appears, based on review some
of the examples, that this may not be the case.
Obvioussly this schema could be more descriptive,
but just shooting for mostly likely to be
not wrong at this point.
Date: 2020-12-15 14:44:37-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* cmd/lotus,go.mod,go.sum: maybe fix straggling merge resolution conflicts
Date: 2021-01-19 12:30:42-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build/openrpc/full.json.gz,build/openrpc/miner.json.gz,build/openrpc/worker.json.gz: run 'make docsgen'
Date: 2021-01-19 12:33:55-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/apistruct,node/impl: (lint) gofmt
Date: 2021-01-19 12:39:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen: maybe fix parse error: open ./api: no such file or directory
Date: 2021-01-19 12:52:04-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen,build/openrpc: maybe fix no such file error and run 'make docsgen'
Date: 2021-01-19 12:55:52-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen: return if AST comment/groupdoc parsing encounters any error
This will returns empty comments/docs maps.
This should fix issues like:
https://app.circleci.com/pipelines/github/filecoin-project/lotus/12445/workflows/4ebadce9-a298-4ad1-939b-f19ef4c0a5bf/jobs/107218
where the environment makes file lookups hard or
impossible.
Date: 2021-01-19 13:04:58-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api: Don't depend on build/
* make: support parallel docsgen
* openrpc gen: Use simple build version
* methodgen
* goimports
Co-authored-by: meows <b5c6@protonmail.com>
2021-03-19 19:22:46 +01:00
Łukasz Magiera
d198bf9d6d
Merge pull request #5828 from filecoin-project/asr/version
...
Bump master to 1.6.0-dev
2021-03-19 11:48:24 +01:00
Peter Rabbitson
c340750672
Nerpa reset backport/cherry-pick from 73eabc310f
2021-03-18 20:55:15 +01:00
Anton Evangelatov
9d6c77d93f
remove interactive UX; add inspect-deal
cmd
2021-03-18 14:53:03 +02:00
Liviu Damian
ef5b079b8f
Nerpa reset 707219b7a
2021-03-18 12:33:54 +02:00
Peter Rabbitson
8c726cc4f9
Rollback the nerpa proofs upgrade: has to be conditional on upgrades
2021-03-17 12:00:45 +01:00
Aayush Rajasekaran
797d2b1ae8
Bump master to 1.6.0-dev
2021-03-17 02:49:06 -04:00
Aayush Rajasekaran
9afb5ff944
Lotus 1.5.3-rc2
2021-03-17 02:45:23 -04:00
Aayush Rajasekaran
dc94d52084
Tweak upgrade heights
2021-03-17 00:24:17 -04:00
Peter Rabbitson
3c81576bfa
Fix nerpa heights for a reset, swapout proof typs
2021-03-17 04:00:29 +01:00
Steven Li
a6e8c03f5c
ipfs-force bootstrapper update
2021-03-12 15:05:00 +08:00
Łukasz Magiera
6d88ea83e7
v1.5.2 changelog, version bump
2021-03-11 10:28:40 +01:00
Aayush Rajasekaran
a977cc2189
Lotus 1.5.1
2021-03-10 18:46:51 -05:00
Łukasz Magiera
1c62d7a40f
Merge pull request #5729 from filecoin-project/feat/api-no-dep-build
...
Feat/api no dep build
2021-03-09 16:01:53 +01:00
Łukasz Magiera
58d7627168
Merge pull request #5730 from filecoin-project/asr/genesis-rootkey
...
Customize verifreg root key and remainder account when making genesis
2021-03-08 22:42:09 +01:00
Łukasz Magiera
3ee87a8af8
gofmt
2021-03-08 13:24:24 +01:00
whyrusleeping
e7a1d72ba8
extract build/version to api/version, remove api package dep on build
2021-03-05 14:28:13 -08:00
Aayush Rajasekaran
92c55147c2
Merge pull request #5627 from filecoin-project/feat/update-butterflynet
...
Update butterfly network
2021-03-04 16:38:36 -05:00
Łukasz Magiera
b48ea9610f
Merge remote-tracking branch 'origin/master' into revert-5667-revert-5432-refac/send
2021-02-25 14:54:20 +01:00
Jakub Sztandera
ccebc4f53c
Fix riceing by importing the main package
...
Go 1.16 elides dependencies from go.sum when you don't use a package
which has these dependencies.
This means dependencies for the `rice` command where not in our
`go.sum`.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-24 15:58:40 +01:00
Aayush Rajasekaran
d8bb112bcd
Lotus version 1.5.0
2021-02-23 16:25:40 -05:00
Jakub Sztandera
303a0fec87
Revert "Revert "Refactor send command for better testability""
2021-02-23 15:50:47 +01:00
Jakub Sztandera
bebc11522e
Revert "Refactor send command for better testability"
2021-02-23 15:25:19 +01:00
Jakub Sztandera
7721ea20ba
Merge pull request #5432 from filecoin-project/refac/send
...
Refactor send command for better testability
2021-02-23 13:18:11 +01:00
Aayush Rajasekaran
ac06abb964
Add a LOTUS_DISABLE_V3_ACTOR_MIGRATION envvar
2021-02-23 01:57:42 -05:00
Travis Person
5cf58e291b
Add calibration genesis
2021-02-19 23:11:01 +00:00
Travis Person
cf606196e3
Reset calibration network
2021-02-19 23:00:28 +00:00
Aayush Rajasekaran
b60a63ebd9
Set nv10 upgrade epochs
2021-02-19 17:43:01 -05:00
Travis Person
bb4609a764
Add butterfly genesis
2021-02-19 02:16:17 +00:00
Travis Person
aee5edb904
Update butterfly network
2021-02-19 01:58:03 +00:00
Travis Person
b756550ebf
Update butterfly network
2021-02-19 00:27:53 +00:00
Jakub Sztandera
bad67acb4b
Generate mocks, integrate send service test
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Travis Person
6559cdfa6a
Butterfly genesis
2021-02-17 19:45:27 +00:00
Travis Person
a674062fa8
Update bootstraps
2021-02-17 19:45:27 +00:00
Travis Person
76349510eb
Add butterfly network
2021-02-17 19:42:47 +00:00
Aayush Rajasekaran
f76fcef3f8
Lotus version 1.4.2
2021-02-17 13:39:58 -05:00
Aayush Rajasekaran
dd26b68eec
Set nerpanet's upgrade epochs up to v3 actors
2021-02-16 01:51:40 -05:00
Łukasz Magiera
8f603717a6
Merge remote-tracking branch 'origin/master' into steb/refactor-consistent-tipset-methods
2021-02-05 13:08:49 +01:00
Łukasz Magiera
52bfed1739
bump api version
2021-02-05 13:08:39 +01:00
Aayush Rajasekaran
6a63e6f448
Create a nerpanet build option
2021-02-02 22:10:22 -05:00
Aayush Rajasekaran
a9ea06dc1e
Calibnet V3 epoch
2021-01-28 12:53:53 -05:00
Aayush Rajasekaran
f8ef6a41cb
Calibnet V3 epoch
2021-01-27 18:36:44 -05:00
Aayush Rajasekaran
613df60f4a
Set calibrationnet's ActorsV3 upgrade epoch
2021-01-25 23:06:20 -05:00
Łukasz Magiera
fabcbb621d
Merge remote-tracking branch 'origin/master' into next
2021-01-26 00:47:22 +01:00
Aayush Rajasekaran
a816d22538
Make Calibnet Build Again
2021-01-25 03:43:36 -05:00
Frank
46b92be281
fix debug and 2k mix
2021-01-22 11:27:05 +08:00
Frank
61aae567bb
add calibnet and mainnet in version
2021-01-22 11:27:05 +08:00
Aayush Rajasekaran
c8bfbd4f28
Apply actors v3 upgrade in devnets
2021-01-21 15:21:19 -08:00
Steven Allen
99ea5b62ea
wire up v3 migration
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
685a0fdc9c
Lotus version 1.4.1
2021-01-20 03:46:05 -05:00
Łukasz Magiera
476df99179
Merge pull request #5341 from filecoin-project/feat/sectors-terminate
...
Sector termination support
2021-01-14 22:00:18 +01:00
Łukasz Magiera
f01f1d377b
Test pending terminations
2021-01-14 12:41:27 +01:00
Aayush Rajasekaran
50d1fae85f
Calibnet: Set Orange epoch
2021-01-12 02:58:58 -05:00
Łukasz Magiera
9a0e552131
Merge pull request #5277 from filcloud/update-newest-version
...
update NewestNetworkVersion
2021-01-11 16:13:23 +01:00
Aayush Rajasekaran
835b84b12a
Skip bootstrapping if no peers specified
2021-01-06 16:03:29 -05:00
Łukasz Magiera
ab529f4641
Merge pull request #5288 from filecoin-project/asr/unify-networks
...
Create a calibnet build option
2021-01-05 20:15:13 +01:00
Aayush Rajasekaran
11d1e3cd5f
Remove LOTUS_DISABLE_V2_ACTOR_MIGRATION envvar
2021-01-05 00:46:57 -05:00
Aayush Rajasekaran
1bd2ae034f
Create a calibnet build option
2021-01-05 00:32:15 -05:00
Frank
4afef16ee6
update NewestNetworkVersion
2020-12-31 18:43:14 +08:00
Frank
7e0a2ca46e
use deal duration from actor
2020-12-30 16:02:53 +08:00
Aayush Rajasekaran
c01d9f05df
Lotus version 1.4.0
2020-12-19 16:18:32 -05:00
Jakub Sztandera
e777b879a1
Add the missing file
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-19 22:10:45 +01:00
Jakub Sztandera
420888aeae
Add UpgradeOrange to params_2k and params_testground
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-19 21:35:14 +01:00
Łukasz Magiera
22884f18f1
define v9 upgrade
2020-12-19 20:44:21 +01:00
Aayush Rajasekaran
d04c01939d
Lotus version 1.3.0
2020-12-16 00:34:34 -05:00
Steven Allen
1f754bdb78
disable gas burning for window post messages
...
While over-estimation fees and miner tips are still paid, gas is no longer burnt
for direct, successful window PoSt messages.
Usually, gas is burnt to prevent an attacker from spamming the network and to
allow clients to "price" messages (using the base fee cap) based on how urgently
they need them to be processed. However:
1. Window PoSt is already a "proof of work".
2. Miners need to submit WindowedPoSts on-time so all window post messages are urgent.
3. Work is already under way to move window post verification off-chain (making
it effectively free). This change simply introduces the "free" part a bit earlier.
2020-12-16 00:10:25 -05:00
Łukasz Magiera
d2b7e7b2ab
v1.2.3 changelog, version bump
2020-12-15 18:39:50 +01:00
Łukasz Magiera
ba7854d645
Merge pull request #5105 from filecoin-project/feat/log-insufficent-peers
...
sync: log a message when there aren't enough peers
2020-12-03 12:53:40 +01:00
Travis Person
a584fcb935
sync: log a message when there aren't enough peers
2020-12-03 01:27:07 +00:00
Aayush Rajasekaran
bf93dfbc3b
Lotus version 1.2.2
2020-12-02 20:23:59 -05:00
Aayush Rajasekaran
89ffd368b8
Lotus version 1.2.1
2020-11-19 23:47:46 -05:00
Aayush Rajasekaran
e061a8d163
Lotus version 1.2.0
2020-11-18 15:41:55 -05:00
Aayush Rajasekaran
016f5e44c0
Set Calico epoch
2020-11-17 21:13:43 -05:00
Łukasz Magiera
c597c43724
Bump API versions to 1.0.0
2020-11-17 12:04:06 +01:00
Łukasz Magiera
425ad9c5fa
Merge pull request #4888 from filecoin-project/asr/zero-address
...
Avoid sending messages to the zero BLS address
2020-11-17 11:57:47 +01:00
Aayush Rajasekaran
7838752352
Avoid sending messages to the zero BLS address
2020-11-17 01:42:11 -05:00
Steven Allen
948ee53080
add upgrade height where SDR is required
2020-11-16 19:04:13 +01:00
Łukasz Magiera
6bea9dd178
Making sealing logic work with multiple seal proof types
2020-11-16 19:03:30 +01:00
Aayush Rajasekaran
6d0b3978b9
Merge branch 'master' into release/v1.2.0
2020-11-15 19:03:18 -05:00
Aayush Rajasekaran
2971dd4317
Lotus version 1.1.3
2020-11-13 04:09:48 -05:00
Aayush Rajasekaran
5d9c79811f
Update to actors v2.3.0
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-11-12 18:49:11 +01:00
zgfzgf
11ed015dca
update BootstrapPeerThreshold = 1
2020-11-11 14:44:35 +08:00
zgfzgf
c6b9e4951f
add testground BootstrapPeerThreshold
2020-11-11 13:20:59 +08:00
zgfzgf
1301fd6ddb
2k sync BootstrapPeerThreshold
2020-11-11 12:20:31 +08:00
Aayush Rajasekaran
105f0fd49a
Run kumquat upgrade on devnets
2020-11-05 04:21:03 -05:00
Łukasz Magiera
e1da874258
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-27 03:31:07 +01:00
Aayush Rajasekaran
7b3f1c2b85
Lotus version 1.1.2
2020-10-24 06:33:31 -04:00
Aayush Rajasekaran
8b8d81e767
Lotus version 1.1.1
2020-10-24 00:22:20 -04:00
Łukasz Magiera
660236b224
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-23 23:25:35 +02:00
Łukasz Magiera
29e334de54
Merge pull request #4511 from filecoin-project/steb/generalize-window-post
...
Manage sectors by size instead of proof type.
2020-10-22 21:27:48 +02:00
Steven Allen
710ac9d544
use the correct network version in genesis
...
1. Version 0 upgrades happen _after_ genesis.
2. Get rid of UseNewestNetwork. It's not useful and quite dangerous.
2020-10-21 12:18:38 -07:00
Steven Allen
4e730b5ec8
port to v2 imports
2020-10-21 12:16:23 -07:00
Steven Allen
00dcb1bce9
Manage sectors by size instead of proof type.
...
* We may have multiple sectors with the same size and different proof types, but all these management functions stay the same.
* This simplifies PoSt logic.
2020-10-20 18:30:56 -07:00
Aayush Rajasekaran
d78dd42ed4
Lotus version 1.1.0
2020-10-20 18:30:41 -04:00
Aayush Rajasekaran
7f46ad19ac
VM: Enforce a call depth limit
2020-10-20 18:19:50 -04:00
Aayush Rajasekaran
556f92a823
Update to actors v2.2.0 at PostLiftoff epoch
2020-10-20 17:23:35 -04:00
Aayush Rajasekaran
1ee9fb44e2
Lotus version 1.0.0
2020-10-19 20:09:35 -04:00
Łukasz Magiera
7ac5dc55d0
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-17 13:45:11 +02:00
Travis Person
4de8f50642
replace bootstrap peers
2020-10-16 19:13:33 +00:00
Aayush Rajasekaran
251374eca7
Lotus version 0.10.2
2020-10-14 21:01:26 -04:00
Łukasz Magiera
39670df6af
Merge pull request #4125 from filecoin-project/feat/drand-cloudflare
...
Update drand endpoints
2020-10-15 00:01:06 +02:00
Aayush Rajasekaran
2e7cd024df
Lotus version 0.10.1
2020-10-14 02:22:02 -04:00
Łukasz Magiera
71b3b9075d
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-13 21:33:21 +02:00
Steven Allen
79c5d2c6d2
Rename params_testnet to params_mainnet
2020-10-12 11:04:46 -07:00
Hector Sanjuan
8001ed3030
Drand: add cloudflare. Use HTTP for PL nodes.
...
Adding Cloudflare ensures additional redundancy.
Switching to HTTP for PL nodes reduces latency and cost. Randomness is
verified after being received.
2020-10-12 19:15:56 +02:00
Aayush Rajasekaran
160f209f6a
Lotus version 0.10.0
2020-10-12 02:14:36 -04:00
Steven Allen
92177b5738
implement tape upgrade
...
Upgrade to specs-actors v2.1 and network version 5. This fixes the bug where
prove commits were not accepted.
2020-10-12 02:00:27 -04:00
Łukasz Magiera
f417d39a08
Bump the version to 0.9.1
2020-10-10 09:13:52 +02:00
Łukasz Magiera
0de3051821
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-08 13:10:41 +02:00
Aayush Rajasekaran
dea7042668
Lotus version 0.9.0
2020-10-07 23:09:08 -04:00
Łukasz Magiera
f9f54819d4
Env var to control v2 actor migration
...
Env var to control v2 actor migration
2020-10-07 19:41:36 -04:00
Aayush Rajasekaran
d1555106a4
Set actorsv2 upgrade epoch
2020-10-07 19:41:36 -04:00
Steven Allen
df4b068d0e
Merge branch 'master' into next
2020-10-07 11:55:00 -07:00
Łukasz Magiera
39bc816a79
build: Env var to keep test address output
2020-10-07 15:01:30 +02:00
Łukasz Magiera
2f70a91665
Merge remote-tracking branch 'origin/master' into next
2020-10-06 23:54:59 +02:00
Aayush Rajasekaran
4d6a0f7b8c
Set WinningPoStSectorSetLookback to finality post-v2 actors
2020-10-06 17:40:37 -04:00
Aayush Rajasekaran
3672f2cc44
Set default address type to mainnet
2020-10-06 01:59:15 -04:00
Aayush Rajasekaran
f55b18eabe
Add funds that have left FilReserve to circ supply
2020-10-05 23:54:57 -04:00
Aayush Rajasekaran
6d25f3d2ae
Add some comments
2020-10-05 18:39:39 -04:00
Łukasz Magiera
921d78f820
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-04 10:39:55 +02:00
Steven Allen
8292d60196
Merge branch 'master' into asr/spec-v1
2020-10-02 18:03:03 -07:00
Aayush Rajasekaran
3d91633699
Update to v2/actors master
2020-10-01 05:07:00 -04:00
Aayush Rajasekaran
636810daa5
Lotus version 0.8.1
2020-09-30 21:30:52 -04:00
Steven Allen
9705b25bbd
fix testground actor versions
2020-09-30 15:15:34 -07:00
Steven Allen
1c03862854
fix policy for specs-actors update
2020-09-28 17:28:16 -07:00
Steven Allen
c0b316fd9c
finish wiring up actors v2
2020-09-28 15:58:07 -07:00
Steven Allen
d1000e38d7
wire up network upgrade logic for v2 actors upgrade
2020-09-28 15:50:54 -07:00
Łukasz Magiera
aa7090df49
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-28 12:55:57 +02:00
Łukasz Magiera
5a72662d26
Merge branch 'master' into master
2020-09-28 09:22:21 +02:00
刘林欣
a2d24b5b33
add ipfsmain bootstrapper
2020-09-28 13:53:29 +08:00
Łukasz Magiera
cf71f034dc
Merge remote-tracking branch 'origin/dev' into feat/async-restartable-workers
2020-09-26 12:35:32 +02:00
Łukasz Magiera
ca1715616f
Merge branch 'dev' into patch-1
2020-09-26 10:18:47 +02:00
Łukasz Magiera
28566b4d64
Merge branch 'dev' into master
2020-09-26 10:17:45 +02:00
Łukasz Magiera
dfd1473384
Merge pull request #4041 from ipfs-force-community/master
...
Add one more node located in China
2020-09-26 10:16:01 +02:00
Łukasz Magiera
6a502090f4
Merge pull request #4028 from filecoin-project/asr/address-update
...
Add an envvar to set address network version
2020-09-26 10:14:10 +02:00
Steven Li
81a30cbf06
Add one more node located in China
2020-09-26 16:01:10 +08:00
Aayush Rajasekaran
45eadc1b3a
Lotus version 0.8.0
2020-09-26 03:13:20 -04:00
whyrusleeping
567261e2c7
set upgrade heights for testground builds
2020-09-26 00:03:03 -07:00
Łukasz Magiera
ef28ebb14a
Ignition upgrades, much excite.
2020-09-25 23:55:37 -07:00
Aayush Rajasekaran
60e43ccbb1
Add an envvar to set address network version
2020-09-25 15:45:27 -04:00
MaoBisheng-IPFSUNION
9dfce400a7
delate
2020-09-25 17:36:57 +08:00
MaoBisheng-IPFSUNION
89bfe84f36
add new booststrappers
...
we hope to add two booststrappers for the filecoin network to improve the network synchronization
2020-09-25 10:18:12 +08:00
Arsenii Petrovich
585b8cc51d
Add glif node to bootstrap peers
2020-09-25 03:54:29 +03:00
Łukasz Magiera
17a84c9a2c
Merge pull request #3975 from filecoin-project/steb/abstract-actor-policy
...
Add some actors policy setters for testing
2020-09-24 15:51:41 +02:00
Aayush Rajasekaran
22fafc7054
Lotus version 0.7.2
2020-09-23 18:09:01 -04:00
Steven Allen
32a699d6a3
Add some actors policy setters for testing
...
Addresses:
* a307e4593a (r491966115)
* a307e4593a (r491966634)
Note: This puts everything into a policy package to avoid a dependency cycle
between the build package, the miner package, and the types package. This is
also why I introduced a GetPreCommitChallengeDelay function and removed the
variable.
2020-09-23 15:00:52 -07:00
Łukasz Magiera
ce6b92484f
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-23 11:31:21 +02:00
Łukasz Magiera
aa5bd7bc17
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-21 22:36:16 +02:00
Steven Allen
1bf3b4989d
rename imports to match actors code
...
`sed -i 's/\bv0\(\w\)\(\w*\)/\L\1\E\20/g' **/*.go`
2020-09-18 14:59:27 -07:00
Łukasz Magiera
70faa36b7f
Merge remote-tracking branch 'origin/master' into refactor/net-upgrade
2020-09-18 19:29:06 +02:00
Aayush Rajasekaran
fce423c743
Appease the linter and get everything building
2020-09-18 02:14:18 -04:00
Aayush Rajasekaran
aa081dbc6d
Lotus version 0.7.1
2020-09-17 21:31:47 -04:00
Aayush Rajasekaran
053cfc1cc7
Migrate verifreg actor
2020-09-17 03:55:23 -04:00
Aayush Rajasekaran
b5ba7a0fad
Miner migration
2020-09-17 02:21:16 -04:00
Aayush Rajasekaran
b4ee519282
Partial progress towards switching to miner and power interfaces
2020-09-16 01:37:49 -04:00
Aayush Rajasekaran
60a031a713
Lower devnet block time
2020-09-14 14:40:13 -04:00
Łukasz Magiera
381a6cdfac
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-14 19:11:50 +02:00
Łukasz Magiera
06ec571c20
Merge remote-tracking branch 'origin/master' into refactor/net-upgrade
2020-09-14 15:09:52 +02:00
Łukasz Magiera
38f87981c1
Fix some build errors
2020-09-14 13:14:06 +02:00
Aayush Rajasekaran
e7edc46daf
Lotus version 0.7.0
2020-09-10 17:56:54 -04:00
Aayush Rajasekaran
4170e18dea
fix testground build
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
beba92aed4
Improve network versioning logic
2020-09-10 17:41:55 -04:00
Jakub Sztandera
d5d264d13b
Add fork point
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
9a48ec194e
Add DrandSchedule to testground params
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
64fa6fd9e5
Draw the rest of the owl
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Łukasz Magiera
5f08fe7ead
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-10 17:30:54 +02:00
Łukasz Magiera
890e6280df
Merge pull request #3669 from filecoin-project/feat/independent-version-numbers
...
build: Separate API versions per node type
2020-09-10 17:00:32 +02:00
Aayush Rajasekaran
a7a43a1124
Fix devnets
2020-09-09 17:10:35 -04:00
Aayush Rajasekaran
1d4b5c201e
Lotus version 0.6.2
2020-09-09 16:44:37 -04:00
Łukasz Magiera
37c0f75499
Bump version to 0.6.2-rc1
2020-09-09 13:07:15 +02:00
Łukasz Magiera
38863d3025
build: Separate API versions per node type
2020-09-08 21:14:53 +02:00
Aayush Rajasekaran
e9e067eebf
Lotus version 0.6.1
2020-09-08 03:10:27 -04:00
Aayush Rajasekaran
80a4beace6
Lotus version v.0.6.0
2020-09-07 19:14:17 -04:00
Jakub Sztandera
baaec9db87
Fix testground build
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-07 22:31:39 +02:00
whyrusleeping
5d5c964d06
set correct upgrade height
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-07 22:31:39 +02:00
whyrusleeping
502d3fb335
set values for test networks
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-07 22:31:39 +02:00
whyrusleeping
5654322f54
introduce logic to perform base fee tamping around the upgrade time
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-07 22:31:36 +02:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
Łukasz Magiera
159ce13f5e
Async worker API
2020-09-06 18:47:16 +02:00
Aayush Rajasekaran
94173c273a
Lotus version 0.9.10
2020-09-03 14:57:58 -04:00
Aayush Rajasekaran
23ec780a13
Lotus version v0.5.9
2020-09-03 12:48:20 -04:00
Aayush Rajasekaran
f03f4775fc
Lotus version 0.5.8
2020-09-02 19:42:19 -04:00
Aayush Rajasekaran
f09f38085e
Lotus version 0.5.7
2020-08-31 20:03:38 -04:00
Łukasz Magiera
98d51d3d80
storage: Correcty move unsealed sectors in FinalizeSector
2020-08-31 12:45:57 +02:00
Łukasz Magiera
d972a47c84
Bump version to 0.5.6
2020-08-29 06:48:28 +02:00
Aayush Rajasekaran
4e5b11b1d5
Lotus version 0.5.5
2020-08-28 21:49:56 -04:00
whyrusleeping
d5c4b66ec7
Lotus release v0.5.4
2020-08-25 17:31:40 -07:00
Łukasz Magiera
e4e0f472f9
build: Bump versions to 0.5.2
2020-08-24 23:48:57 +02:00
Travis Person
3736d1ce45
Testnet spacerace genesis
2020-08-24 19:51:48 +00:00
Whyrusleeping
5c315b4503
Merge pull request #3212 from filecoin-project/feat/space-race-params
...
space race parameters
2020-08-21 14:16:50 -07:00
Travis Person
30b28b7f7b
Update drand to incentinet
2020-08-21 17:46:43 +00:00
Hector Sanjuan
4b80bc93b0
build/drand.go: add settings for incentinet.
2020-08-21 17:45:55 +00:00
whyrusleeping
7456cdeb42
space race parameters
2020-08-20 17:21:33 -07:00
Travis Person
0eac90b596
Testnet peers
2020-08-21 00:11:30 +00:00
Jakub Sztandera
c9fdd4bee2
Fix testgrounds build
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-18 17:40:53 +02:00
Jakub Sztandera
c841f26256
Basefee change depends on unique messages not all messages
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-18 15:28:50 +02:00
Łukasz Magiera
9db478fd2e
Bump version
2020-08-18 02:58:54 +02:00
Łukasz Magiera
1ecec49885
build: Bump versions
2020-08-14 23:40:11 +02:00
Łukasz Magiera
f537c48f93
v28 Proofs
2020-08-12 00:33:30 +02:00
Łukasz Magiera
657b390193
Bump version
2020-08-11 12:11:59 +02:00
Łukasz Magiera
55355c4165
Bump API version
2020-08-11 10:22:58 +02:00
Łukasz Magiera
3bac504fc3
Use drand mainnet
2020-08-07 18:09:01 +02:00
Łukasz Magiera
09b4971698
Less aggresive 2k devnet block time
2020-08-07 17:51:35 +02:00
Łukasz Magiera
051be61452
gofmt
2020-08-07 15:04:10 +02:00
Łukasz Magiera
1101d4b66a
Fix testground build
2020-08-07 15:04:00 +02:00
Łukasz Magiera
617046fc0e
params: Bump block message limit
2020-08-07 04:16:05 +02:00
Jakub Sztandera
927f355001
Remove MpoolEstimateGasPrice
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-07 02:19:21 +02:00
Jakub Sztandera
722d6e8ffb
Introduce base fee
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 21:14:38 +02:00
Lucas Molas
76d40ec408
first pass, ready for review
2020-08-03 12:20:04 -03:00
whyrusleeping
9c51b48754
update some numbers
2020-08-01 16:56:38 -07:00
Aayush Rajasekaran
b51e2a868b
Merge branch 'next' into feat/cid-builder
2020-07-28 21:02:30 -04:00
Aayush Rajasekaran
890f56ac38
Lock before setting up genesis msigs
2020-07-28 20:35:40 -04:00
Aayush Rajasekaran
df13fc3e40
Add MinDealDuration to testground params
2020-07-28 20:03:20 -04:00
Aayush Rajasekaran
0b1d80d3e3
Rename constants to match CE spec
2020-07-28 17:26:55 -04:00
Aayush Rajasekaran
7153bda0be
Correct MiningRewardTotal and calculation of filMined
2020-07-28 17:26:55 -04:00
Łukasz Magiera
927ee2406a
Downgrade actors, get tests to pass
2020-07-28 19:51:58 +02:00
Jakub Sztandera
7e4f425b79
Fix testgrounds build
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-23 19:55:10 +02:00
Jakub Sztandera
7ae69c70fb
Cleanup DrandBootstrap
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-23 18:45:08 +02:00
Jakub Sztandera
ff5ff4d294
Add multiple drand configs
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-23 18:45:08 +02:00
Jakub Sztandera
310fa67f9d
Add gas estimation
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 19:48:30 +02:00
Jakub Sztandera
15ae22c680
Use drand testnet
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-19 17:32:41 +02:00
Łukasz Magiera
0ded061037
Get math to work
2020-07-18 00:15:21 +02:00
Łukasz Magiera
de271fe729
build: Bump API version
2020-07-17 18:30:50 +02:00
Jakub Sztandera
399c171f03
Update gas limits, update storage-fsm
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 21:21:53 +02:00
Raúl Kripalani
a44e80c829
Merge branch 'next' into mock-clock
2020-07-15 15:51:11 +01:00
Jakub Sztandera
6ecc96d193
Update to drand devnet
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-14 21:16:26 +02:00
Raúl Kripalani
0484496d92
Merge branch 'next' into mock-clock
2020-07-14 18:08:26 +01:00
Łukasz Magiera
2e4ed57363
Merge remote-tracking branch 'origin/master' into next
2020-07-13 13:34:56 +02:00
Aayush Rajasekaran
12b63d59b2
Include unlock duration as a param for multisig creation
2020-07-11 23:54:58 -04:00
Raúl Kripalani
13de81b3b2
introduce the ability to mock time.
2020-07-10 15:51:45 +01:00
Jakub Sztandera
9936439608
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-03 14:56:06 +02:00
Jakub Sztandera
5fb76ddad2
Bump version
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-02 22:09:11 +02:00
Łukasz Magiera
44de824fe3
next: Fix testground build
2020-07-01 12:20:32 +02:00
Łukasz Magiera
cfdbc2312d
Merge branch 'master' into next
2020-07-01 11:22:57 +02:00
Raúl Kripalani
1ef490feea
rename build.PropagationDelay{=>Secs}.
2020-06-30 15:01:30 +01:00
Raúl Kripalani
3b826e41f6
rename build.AllowableClockDrift{=>Secs}.
2020-06-30 15:00:01 +01:00
Raúl Kripalani
d232299c77
type constants on all build tags.
2020-06-30 14:58:34 +01:00
Raúl Kripalani
642aed93d9
remove superfluous comment.
...
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
2020-06-30 14:38:20 +01:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Raúl Kripalani
0fddf3e114
make system constants configurable as vars.
...
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.
Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.
Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
Łukasz Magiera
5d6fcbeccf
Change initial pledge calc to PrecommitInfo
2020-06-26 18:00:50 +02:00
Łukasz Magiera
a6d1323eba
Update specs-actors to v0.7.0; More correct genesis sector import
2020-06-26 15:08:12 +02:00
Aayush Rajasekaran
e54b49b442
Bump API version
2020-06-25 13:49:15 -04:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +02:00
Yusef Napora
b448de422e
improve DrandConfig dependency injection
2020-06-23 16:01:10 -04:00
Raúl Kripalani
d20255b1b4
provide an option to disable loading of built-in assets.
2020-06-22 19:42:04 +01:00
Łukasz Magiera
e2435be0b9
build: Bump API version
2020-06-22 19:36:26 +02:00
Łukasz Magiera
c41c210ced
New Genesis
2020-06-19 01:24:04 +02:00
Łukasz Magiera
55d9ad0b55
Fix docgen
2020-06-18 14:30:00 +02:00
Travis Person
c02d8225a8
Bootstrap peers
2020-06-17 23:01:26 +00:00
Łukasz Magiera
b845013836
Set build params for testnet
2020-06-17 00:37:40 +02:00
Łukasz Magiera
58a79773ee
fix debug build
2020-06-15 18:34:36 +02:00
Łukasz Magiera
907364ce67
Update deps, fix more tests
2020-06-15 18:30:49 +02:00
Łukasz Magiera
19013b09e0
v27 parameters
2020-06-08 23:48:31 +02:00
Jakub Sztandera
7762cd0a68
Assign positive scores to drand bootstrappers
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-08 11:34:46 +02:00
Łukasz Magiera
f9f0d86ddf
Merge pull request #1913 from acruikshank/feat/1853-confirmations-in-StateWaitMsg2
...
Add confidence and timeout to message wait
2020-06-04 23:23:15 +02:00
acruikshank
04f0130530
remove timeout
2020-06-03 17:42:06 -04:00
acruikshank
5574e4f11b
add confidence and timeout to message wait
2020-06-03 15:38:37 -04:00
Jakub Sztandera
5605aae269
Fix even more lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 16:29:39 +02:00
Łukasz Magiera
a49dc90386
Fix version test
2020-06-01 21:11:37 +02:00
Łukasz Magiera
64f4e80446
Include build type in version
2020-06-01 20:49:39 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Łukasz Magiera
6386107b80
Merge pull request #1819 from filecoin-project/feat/new-drand-client
...
Switch to new drand client
2020-05-27 14:35:01 +02:00
Jakub Sztandera
218b2b82c1
Update drand chain info
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 14:09:04 +02:00
Jakub Sztandera
b06b0147a9
Switch to new drand client
...
This is a preview of a change to new drand client.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 13:52:33 +02:00
Łukasz Magiera
fa4ff89dca
Set devnet params
2020-05-26 19:58:09 +02:00
Jeromy
33ec4d332b
cache signatures, and dont check them in a lock
2020-05-15 10:56:38 -07:00
Whyrusleeping
934b2df763
Merge pull request #1739 from filecoin-project/feat/testnet-phase-2
...
Testnet Phase 2 network info
2020-05-14 11:36:56 -07:00
Travis Person
aafa00abe4
Testnet Phase 2 network info
2020-05-14 16:29:17 +00:00
Łukasz Magiera
d009b70171
Merge pull request #1727 from filecoin-project/fix/init-sector-size
...
properly handle parsing of miner init sector sizes
2020-05-14 12:37:47 +02:00
Jeromy
50fae56baf
Verify data for presealed data
2020-05-13 19:35:44 -07:00
Jeromy
e34b20b839
fix nondeterminism
2020-05-13 13:21:46 -07:00
Łukasz Magiera
4c64f0ca11
sync: enforce message gas limits
2020-05-13 03:36:56 +02:00
Łukasz Magiera
dcd42eec11
Update sector-storage
2020-05-12 20:33:46 +02:00
Łukasz Magiera
ba389598ee
Cleanup build package
2020-05-12 19:59:28 +02:00
Łukasz Magiera
4ea021d151
Merge pull request #1701 from filecoin-project/asr/syncvalidity
...
Message validation changes
2020-05-12 13:48:33 +02:00
Aayush Rajasekaran
6bf2dcd97c
Message validation changes
2020-05-11 21:54:44 -04:00
Łukasz Magiera
6002e359ae
Updates for 64G sectors
2020-05-11 22:24:42 +02:00
Łukasz Magiera
66d67f66a7
Merge pull request #1685 from filecoin-project/feat/v26
...
v26 proofs
2020-05-08 22:14:41 +02:00
Jeromy
0f75cb4dfd
set minimum miner size to 2g
2020-05-06 22:05:43 -07:00
Łukasz Magiera
75642f393d
v26
2020-05-07 01:22:59 +02:00
Travis Person
a29f19e482
New drand network
2020-04-30 04:55:53 +00:00
Aayush Rajasekaran
ae47bc15ff
Remove / rename fallback post stuff
2020-04-28 13:39:35 -04:00
Łukasz Magiera
9f9ae155e3
windowed post: Review cleanup
2020-04-21 23:38:33 +02:00
Łukasz Magiera
a86595bc88
Use nicer DeadlineInfo struct
2020-04-20 19:34:08 +02:00
Jeromy
91f56742c4
Use lookback to get sector set and power for miners
2020-04-17 16:44:18 -07:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
cdbf79fff5
non-debug 2k sector build mode
2020-04-17 17:58:20 +02:00
Łukasz Magiera
afdfc8807d
api: Single method for static miner info
2020-04-16 19:36:36 +02:00
Łukasz Magiera
149bb56b8e
wip updates to sector set handling
2020-04-15 21:59:11 +02:00
Jakub Sztandera
c34fb24cef
Reove 2048 min power in shared params
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-15 16:49:17 +02:00
Jakub Sztandera
0feab0aad4
Bake drand public key into build params
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 22:34:44 +02:00
Jeromy
674be39af1
real drand network integration
2020-04-13 20:06:10 -07:00
Łukasz Magiera
072dd8b744
Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post
2020-04-10 20:38:25 +02:00
Jakub Sztandera
ce4978d8c3
Reintroduce correct ticket randomness alongside ElectionProof
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:06:41 +02:00
Jakub Sztandera
afdb1db529
drand wip
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Łukasz Magiera
09aa1507c8
v25 proof parameters
2020-04-07 21:59:22 +02:00
Travis Person
6603fc5975
Add new bootstrapper
2020-04-07 05:09:46 +01:00
Travis Person
298e942edf
New interop network info
2020-04-07 03:50:15 +01:00
Łukasz Magiera
6284fad33e
fsm: Implement handlers for Commit errors
2020-04-03 19:45:48 +02:00
Travis Person
698f529602
New interop network info
2020-04-02 23:02:40 +01:00
Travis Person
c41ad767c5
New interop network info
2020-04-02 05:55:24 +01:00
Łukasz Magiera
13f2c21e1d
Get network name from genesis
2020-04-01 01:15:49 +02:00
Travis Person
663e2874a1
New interop network info
2020-03-31 19:38:43 +01:00
Travis Person
93a90fbe82
New interop network info
2020-03-27 03:45:57 +00:00
Travis Person
a2162672a7
New interop network info
2020-03-24 17:49:57 +00:00
whyrusleeping
438aac190f
use proper lookback, and proper serialization for randomness generation
2020-03-20 12:20:56 -07:00
Travis Person
da631478a8
New interop network info
2020-03-19 00:22:59 +00:00
Łukasz Magiera
500ce56371
Merge pull request #1415 from filecoin-project/fix/debug-miner-size
...
Fix/debug miner size
2020-03-18 21:00:16 +01:00
whyrusleeping
24fb72f926
Set minimum miner size to 2048 bytes in debug mode
2020-03-17 20:30:55 -07:00
Łukasz Magiera
1bc55714ed
Update to v24 params
2020-03-14 03:45:44 +01:00
Travis Person
66add465bd
new interoptnet
2020-03-11 08:02:15 +00:00
whyrusleeping
14f9724bc9
Don't double account for miner power when setting up genesis blocks
2020-03-10 15:42:41 -07:00
Travis Person
d19f5e411c
new interoptnet
2020-03-10 06:45:26 +00:00
Łukasz Magiera
24956a49f4
gofmt
2020-03-09 22:47:58 +01:00
Łukasz Magiera
1647798396
build: Remove unused vars, fix debug build
2020-03-09 07:54:29 +01:00
Travis Person
ba0c667cad
New interopt network info
2020-03-09 05:12:53 +00:00
whyrusleeping
ab51c7e2d2
Fix fallback post scheduling to hopefully do the right thing
2020-03-08 00:19:38 -08:00
Łukasz Magiera
bd708fa205
Merge pull request #1347 from filecoin-project/fix/reward-balance
...
fix initial reward actor balance
2020-03-07 07:10:15 +01:00
Travis Person
ea38116571
interoptnet
2020-03-07 03:50:08 +00:00
whyrusleeping
34ad13fc22
fix initial reward actor balance
2020-03-06 17:33:24 -08:00
Travis Person
bc5cd3c2a1
reduce minimum to 2GiB
2020-03-06 07:17:28 +00:00
whyrusleeping
56cb88819c
add 512MB params to testnet in non-debug mode
2020-03-05 16:41:06 -08:00
whyrusleeping
d6723935b9
fixup to match spec, move constants to common location
2020-03-03 15:48:25 -08:00
Łukasz Magiera
4dc35285dd
Minimum sector size is now 2k
2020-02-28 01:48:34 +01:00
Łukasz Magiera
9161b865f3
v23 parameters.json
2020-02-28 01:08:43 +01:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
def0e0a7a1
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-24 17:30:46 +01:00
Łukasz Magiera
917df9a5b8
More unified randomness handling
2020-02-23 21:00:47 +01:00
Łukasz Magiera
49ece5fddf
storageminer: Fix build
2020-02-21 19:20:22 +01:00
Travis Person
a898b18fd6
bump version to 0.2.8
2020-02-20 21:48:17 +00:00
Łukasz Magiera
69ec3c205a
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-19 22:10:14 +01:00
Jakub Sztandera
5c3ed4d91a
Remove ffi from types package
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 18:41:35 +01:00
Łukasz Magiera
7e70536bf1
specs-actors: Finish type cleanup
2020-02-10 19:21:10 +01:00
Łukasz Magiera
13435aebdc
Spec Actors integration
2020-02-08 03:18:32 +01:00
whyrusleeping
faf05cafcf
squash forks and use correct amt library everywhere
2020-02-04 18:26:42 -08:00
Whyrusleeping
f752770a47
Merge pull request #1185 from filecoin-project/fork/snowball
...
WIP, fork, fix slashing power calc
2020-01-30 21:31:37 -08:00
whyrusleeping
c071b2dc47
move back fork point, set new version
2020-01-30 21:15:00 -08:00
whyrusleeping
19a65319ee
test and fix fork, add bigint parsing to lotus shed
2020-01-30 18:14:20 -08:00
Łukasz Magiera
aefc463586
build: Lazy ParametersJson
2020-01-30 23:50:24 +01:00
Jakub Sztandera
f2340579a5
Fix power calculations
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-30 14:01:47 -08:00
Jakub Sztandera
bcbfc931ba
Intoroduce advance-block command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-29 14:40:19 -08:00
whyrusleeping
0ed981be19
Bump version following blocksync bugfixes
2020-01-24 13:58:57 -08:00
Łukasz Magiera
0b8ae006d3
Schedule the fork at 11000
2020-01-19 17:37:28 +01:00
Łukasz Magiera
55fd0a4e60
stmgr: Exetute miner amt after correctly switching to amt2 in miner code
2020-01-19 17:27:43 +01:00
Łukasz Magiera
3c4acbc6cb
Merge pull request #1107 from dtynn/feat/bootybay-fork
...
correctly update proving set & sector set with amt2
2020-01-19 17:22:23 +01:00
dtynn
ae8a9a93bf
correctly update proving set & sector set with amt2 after some fork height
2020-01-18 19:41:34 +08:00
Richard Patel
c3d5a9848b
params_debug.go: remove $TRUST_PARAMS override
2020-01-18 10:38:51 +01:00
whyrusleeping
bc83c0221b
bump that version
2020-01-17 21:45:51 -08:00
whyrusleeping
f9ea6969c3
Catch cases where new old miners with bad code were getting made
2020-01-17 21:20:56 -08:00
whyrusleeping
6ccf24ce6c
Fix miner tests, push back fork time
2020-01-16 23:10:47 -08:00
whyrusleeping
ee4f503e10
Set fork height
2020-01-16 22:47:27 -08:00
whyrusleeping
055b215bc7
don't allow slashing with old blocks
2020-01-16 22:14:00 -08:00
whyrusleeping
fb173c058e
WIP: blizzard fork changes and test utilities
2020-01-16 18:33:43 -08:00
whyrusleeping
2edb32979f
move fork constant and tag fork branch with comment
2020-01-16 15:11:08 -08:00
whyrusleeping
e3bed8d12a
Catch passing duplicate block to arbitrate consensus fault
2020-01-16 15:11:08 -08:00
Łukasz Magiera
5e11da7316
build: bump version
2020-01-14 16:53:05 +01:00
Jakub Sztandera
ce8c2fd656
Bump version
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-14 13:37:20 +01:00
Travis Person
488a156e6f
New testnet2 genesis
2020-01-14 03:10:31 +00:00
Łukasz Magiera
d9c803ea9e
Merge pull request #1062 from filecoin-project/feat/no-more-1gb-sectors
...
remove support for 1gb sectors
2020-01-14 00:21:21 +01:00
whyrusleeping
0414e99fe7
remove support for 1gb sectors
2020-01-13 15:18:26 -08:00
Travis Person
9298d183bf
Add bootstrap peers and genesis
2020-01-13 22:08:11 +00:00
Łukasz Magiera
b7e35ae3ed
Merge pull request #1042 from filecoin-project/feat/limit-seal-proof-lookback
...
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-09 01:14:46 +01:00
whyrusleeping
7ba34535b7
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-08 14:43:03 -08:00
Łukasz Magiera
8cbcbbd7a4
Merge branch 'feat/testnet2' of github.com:filecoin-project/go-lotus into feat/testnet2
2020-01-08 22:44:54 +01:00
Łukasz Magiera
36a5c7d8f5
Merge branch 'master' into feat/testnet2
2020-01-08 22:38:45 +01:00
Łukasz Magiera
da38822dfd
paramfetch: bring parameters.json back to this repo
2020-01-08 21:31:35 +01:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
Jakub Sztandera
b5328d01cf
Update to go-log v1.0.1
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:20:56 +01:00
Łukasz Magiera
f32bacb32d
v0.1.6
2020-01-08 18:42:19 +01:00
Łukasz Magiera
1392dcc273
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-08 13:53:01 +01:00
Łukasz Magiera
a11e8093e5
mpool: Return CID in MpoolPush
2020-01-07 21:10:30 -08:00
Łukasz Magiera
7b134b8317
Merge pull request #1031 from filecoin-project/feat/block-message-limit
...
introduce a limit on the number of messages a block can have
2020-01-07 21:48:57 +01:00
Łukasz Magiera
22e9815928
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 21:45:30 +01:00
whyrusleeping
a109ae1490
introduce a limit on the number of messages a block can have
2020-01-07 12:41:26 -08:00
laser
abf6acc211
moved logger from paramfetch.go (no longer in lotus) to genesis.go
2020-01-07 07:48:44 -08:00
acruikshank
7873213b11
switch sectorbuilder from lib to external module
...
point to correct version of sectorbuilder + ensure go-datastore stays at 0.1.1
replace local address type with go-address
consume paramfetch.GetParams instead of local paramfetch.go
remove constants now defined in sectorbuilder
2020-01-07 07:48:43 -08:00
Łukasz Magiera
605562467d
Flatten fork code for testnet2
2020-01-06 19:39:57 +01:00
Łukasz Magiera
8e54cd8042
v0.1.5
2019-12-20 09:34:05 +01:00
Łukasz Magiera
ed3a2b0025
Set correct head in forkNoPowerEPS
2019-12-20 08:30:12 +01:00
whyrusleeping
088e836393
bump version to 0.1.3
2019-12-19 15:24:00 -08:00
Łukasz Magiera
4a59bcda1f
Set ForkNoPowerEPSUpdates to trigger at 16450
2019-12-19 22:10:24 +01:00
Łukasz Magiera
3f54cbabe0
FORK: No power EPS Fix
2019-12-19 19:47:25 +01:00
Jakub Sztandera
0eb7991bbd
Fix version check
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 16:26:16 +01:00
Łukasz Magiera
11d11c88ae
Revert "Refactor versions"
2019-12-17 16:16:57 +01:00
Jakub Sztandera
5c64859a9b
Fix merge conflict
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 02:50:52 +01:00
Jakub Sztandera
867cba610b
Refactor versions
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 00:43:43 +01:00
Łukasz Magiera
3fda442bb3
Merge pull request #934 from filecoin-project/feat/sb-diskmgr
...
sectorbuilder: Check free space before creating sectors
2019-12-16 21:37:18 +01:00
Łukasz Magiera
1383bfa0eb
sectorbuilder: fs: address review
2019-12-16 20:19:26 +01:00
whyrusleeping
159117e720
dont allow submitting blocks more than a second in the future
2019-12-15 16:43:32 -08:00
Łukasz Magiera
3b56845f98
Version 0.1.1
2019-12-12 14:54:42 +01:00
Łukasz Magiera
e1acacaa95
Merge pull request #890 from filecoin-project/feat/fix-candidate-check
...
Fix candidate check
2019-12-12 14:51:22 +01:00
Jakub Sztandera
c8946fc4c6
Bump to 1750
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:41:06 +01:00