public ScanState(Scanner scanner, Chain chain, Account account, int startHeight) { if(scanner == null) throw new ArgumentNullException("scanner"); _Account = account; _Chain = chain; _Scanner = scanner; _StartHeight = startHeight; }