Validators returns current block Validators information
(blockNr rpc.BlockNumber)
| 337 | |
| 338 | // Validators returns current block Validators information |
| 339 | func (b *APIBackend) Validators(blockNr rpc.BlockNumber) ([]common.Address, error) { |
| 340 | api := b.cpc.engine.(*dpor.Dpor).APIs(b.cpc.blockchain) |
| 341 | return api[0].Service.(*dpor.API).GetValidators(blockNr) |
| 342 | } |
| 343 | |
| 344 | func (b *APIBackend) SupportPrivateTx(ctx context.Context) (bool, error) { |
| 345 | return types.SupportTxType(types.PrivateTx), nil |
nothing calls this directly
no test coverage detected