|
8 | 8 |
|
9 | 9 | blocks "github.com/ipfs/go-block-format"
|
10 | 10 | "github.com/ipfs/go-cid"
|
11 |
| - "github.com/libp2p/go-libp2p/core/peer" |
12 | 11 |
|
13 | 12 | "github.com/filecoin-project/go-address"
|
14 | 13 | "github.com/filecoin-project/go-bitfield"
|
@@ -923,9 +922,9 @@ type FullNode interface {
|
923 | 922 | //
|
924 | 923 | // If there is an issuer mismatch (ErrF3ParticipationIssuerMismatch), the miner
|
925 | 924 | // must retry obtaining a new ticket to ensure it is only participating in one F3
|
926 |
| - // instance at any time. If the number of instances is beyond the maximum leasable |
927 |
| - // participation instances accepted by the node ErrF3ParticipationTooManyInstances |
928 |
| - // is returned. |
| 925 | + // instance at any time. The number of instances must be at least 1. If the |
| 926 | + // number of instances is beyond the maximum leasable participation instances |
| 927 | + // accepted by the node ErrF3ParticipationTooManyInstances is returned. |
929 | 928 | //
|
930 | 929 | // Note: Successfully acquiring a ticket alone does not constitute participation.
|
931 | 930 | // The retrieved ticket must be used to invoke F3Participate to actively engage
|
@@ -980,8 +979,8 @@ type F3ParticipationTicket []byte
|
980 | 979 | type F3ParticipationLease struct {
|
981 | 980 | // Network is the name of the network this lease belongs to.
|
982 | 981 | Network gpbft.NetworkName
|
983 |
| - // Issuer is the identity of the node that issued the lease. |
984 |
| - Issuer peer.ID |
| 982 | + // Issuer is the identity of the node that issued the lease, encoded as base58. |
| 983 | + Issuer string |
985 | 984 | // MinerID is the actor ID of the miner that holds the lease.
|
986 | 985 | MinerID uint64
|
987 | 986 | // FromInstance specifies the instance ID from which this lease is valid.
|
|
0 commit comments