forked from TrueCloudLab/frostfs-node
[#338] ir: Drop notaryless code from netmap
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
fb708b3a2d
commit
656fd7f376
5 changed files with 136 additions and 322 deletions
|
@ -7,7 +7,6 @@ import (
|
|||
"git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/netmap/nodevalidation/state"
|
||||
cntClient "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/client/container"
|
||||
netmapclient "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/client/netmap"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event"
|
||||
netmapEvent "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event/netmap"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger"
|
||||
|
@ -55,7 +54,6 @@ type (
|
|||
}
|
||||
|
||||
Client interface {
|
||||
UpdatePeerState(p netmapclient.UpdatePeerPrm) error
|
||||
MorphNotaryInvoke(contract util.Uint160, fee fixedn.Fixed8, nonce uint32, vub *uint32, method string, args ...any) error
|
||||
ContractAddress() util.Uint160
|
||||
EpochDuration() (uint64, error)
|
||||
|
@ -63,7 +61,6 @@ type (
|
|||
NetMap() (*netmap.NetMap, error)
|
||||
NewEpoch(epoch uint64, force bool) error
|
||||
MorphIsValidScript(script []byte, signers []transaction.Signer) (valid bool, err error)
|
||||
AddPeer(p netmapclient.AddPeerPrm) error
|
||||
MorphNotarySignAndInvokeTX(mainTx *transaction.Transaction) error
|
||||
}
|
||||
|
||||
|
@ -90,8 +87,6 @@ type (
|
|||
|
||||
nodeValidator NodeValidator
|
||||
|
||||
notaryDisabled bool
|
||||
|
||||
nodeStateSettings state.NetworkSettings
|
||||
}
|
||||
|
||||
|
@ -112,8 +107,6 @@ type (
|
|||
|
||||
NodeValidator NodeValidator
|
||||
|
||||
NotaryDisabled bool
|
||||
|
||||
NodeStateSettings state.NetworkSettings
|
||||
}
|
||||
)
|
||||
|
@ -168,8 +161,6 @@ func New(p *Params) (*Processor, error) {
|
|||
|
||||
nodeValidator: p.NodeValidator,
|
||||
|
||||
notaryDisabled: p.NotaryDisabled,
|
||||
|
||||
nodeStateSettings: p.NodeStateSettings,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue