| 18 | ScriptBase::ScriptBase(const Address &address) : ScriptBase(address.scriptNum, address.type, address.getAccess(), address.getAccess().scripts->getScriptHeader(address.scriptNum, dedupType(address.type))) {} |
| 19 | |
| 20 | Transaction ScriptBase::getFirstTransaction() const { |
| 21 | auto txNum = getFirstTxIndex(); |
| 22 | return Transaction(txNum, getAccess().getChain().getBlockHeight(txNum), getAccess()); |
| 23 | } |
| 24 | |
| 25 | ranges::optional<Transaction> ScriptBase::getTransactionRevealed() const { |
| 26 | auto index = getTxRevealedIndex(); |
nothing calls this directly
no test coverage detected