-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chain: Use f2 code #4
Conversation
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
+1 to extracting bls-signatures and /crypto. The address code here is also from go-filecoin. Let's pull that into a separate repo as well |
Meta note: |
bstore "github.com/ipfs/go-ipfs-blockstore" | ||
) | ||
|
||
type BufferedBS struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is a strong candidate for being a separate package.
cbor.RegisterCborType(BSTipSet{}) | ||
} | ||
|
||
type BlockSyncService struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not blocking: Would be good to have this as (at least) a subpackage. Maybe even pull it into a separate repo if we can. We want to try and build things that could be reused by go-filecoin.
sharray "github.com/whyrusleeping/sharray" | ||
) | ||
|
||
type Miner struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mining code isnt great. fine to merge it in for now just to get things working, but i think rewriting it from scratch once we understand the problem would be good
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet, it builds for me. lets do this
we should always load worker address from the chain
fix: ci: update triggers to cover miner
This PR brings most chain related code from f2
Based on #2
State: not building (but close)
Todo:
go-filecoin/bls-signatures
go-filecoin/crypto
go-filecoin/testhelpers/testflags