Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + const AssignMatchingTxHashForOutpoint + const BadBlockApproval + const BadExpiredVotedTickets + const BadMissedVotedTickets + const BadSpentLiveTickets + const BadVotedTickets + const ClearBlockChainNextHash + const CountVinsRows + const CreateAddressTable + const CreateAgendaVotesTable + const CreateAgendasTable + const CreateBlockPrevNextTable + const CreateBlockTable + const CreateMetaTable + const CreateMissesTable + const CreateProposalVotesTable + const CreateProposalsTable + const CreateStatsTable + const CreateTestingTable + const CreateTicketsTable + const CreateTransactionTable + const CreateVinTable + const CreateVotesTable + const CreateVoutTable + const DeindexAddressTableOnAddress + const DeindexAddressTableOnMatchingTxHash + const DeindexAddressTableOnTxHash + const DeindexAddressTableOnVoutID + const DeindexAgendaVotesTableOnAgendaID + const DeindexAgendasTableOnAgendaID + const DeindexBlockTableOnHash + const DeindexBlockTimeOnTableAddress + const DeindexBlocksTableOnHeight + const DeindexBlocksTableOnTime + const DeindexMissesTableOnHashes + const DeindexProposalVotesTableOnProposalsID + const DeindexProposalsTableOnToken + const DeindexStatsOnHeight + const DeindexTicketsTableOnHashes + const DeindexTicketsTableOnPoolStatus + const DeindexTicketsTableOnTxDbID + const DeindexTransactionTableOnBlockHeight + const DeindexTransactionTableOnBlockIn + const DeindexTransactionTableOnHashes + const DeindexVinTableOnPrevOuts + const DeindexVinTableOnVins + const DeindexVotesTableOnBlockHash + const DeindexVotesTableOnBlockTime + const DeindexVotesTableOnCandidate + const DeindexVotesTableOnHashes + const DeindexVotesTableOnHeight + const DeindexVotesTableOnVoteVersion + const DeindexVoutTableOnSpendTxID + const DeindexVoutTableOnTxHashIdx + const DeleteAddresses + const DeleteAddressesSubQry + const DeleteAgendaVotesDuplicateRows + const DeleteAgendasDuplicateRows + const DeleteBlock + const DeleteBlockFromChain + const DeleteMisses + const DeleteMissesDuplicateRows + const DeleteRegularVins + const DeleteRegularVinsSubSelect + const DeleteRegularVouts + const DeleteRegularVoutsSubSelect + const DeleteStakeAddressesFunding + const DeleteStakeAddressesSpending + const DeleteStakeVins + const DeleteStakeVinsSubSelect + const DeleteStakeVouts + const DeleteStakeVoutsSubSelect + const DeleteTickets + const DeleteTicketsDuplicateRows + const DeleteTicketsSimple + const DeleteTransactions + const DeleteTransactionsSimple + const DeleteTxDuplicateRows + const DeleteTxRows + const DeleteVinRows + const DeleteVins + const DeleteVinsDuplicateRows + const DeleteVinsSubQry + const DeleteVotes + const DeleteVotesDuplicateRows + const DeleteVoutDuplicateRows + const DeleteVoutRows + const DeleteVouts + const DeleteVoutsSubQry + const DisapprovedBlockVotes + const DistinctVinsToTempTable + const DistinctVoutsToTempTable + const ExtraMainchainBlocks + const IndexAddressTableOnAddress + const IndexAddressTableOnMatchingTxHash + const IndexAddressTableOnTxHash + const IndexAddressTableOnVoutID + const IndexAgendaVotesTableOnAgendaID + const IndexAgendasTableOnAgendaID + const IndexBlockTableOnHash + const IndexBlockTimeOnTableAddress + const IndexBlocksTableOnHeight + const IndexBlocksTableOnTime + const IndexExists + const IndexIsUnique + const IndexMissesTableOnHashes + const IndexOfAddressTableOnAddress + const IndexOfAddressTableOnBlockTime + const IndexOfAddressTableOnMatchingTx + const IndexOfAddressTableOnTx + const IndexOfAddressTableOnVoutID + const IndexOfAgendaVotesTableOnRowIDs + const IndexOfAgendasTableOnName + const IndexOfBlocksTableOnHash + const IndexOfBlocksTableOnHeight + const IndexOfBlocksTableOnTime + const IndexOfHeightOnStatsTable + const IndexOfMissesTableOnHashes + const IndexOfProposalVotesTableOnProposalsID + const IndexOfProposalsTableOnToken + const IndexOfTicketsTableOnHashes + const IndexOfTicketsTableOnPoolStatus + const IndexOfTicketsTableOnTxRowID + const IndexOfTransactionsTableOnBlockHeight + const IndexOfTransactionsTableOnBlockInd + const IndexOfTransactionsTableOnHashes + const IndexOfVinsTableOnPrevOut + const IndexOfVinsTableOnVin + const IndexOfVotesTableOnBlockHash + const IndexOfVotesTableOnBlockTime + const IndexOfVotesTableOnCandBlock + const IndexOfVotesTableOnHashes + const IndexOfVotesTableOnHeight + const IndexOfVotesTableOnVersion + const IndexOfVoutsTableOnSpendTxID + const IndexOfVoutsTableOnTxHashInd + const IndexProposalVotesTableOnProposalsID + const IndexProposalsTableOnToken + const IndexStatsOnHeight + const IndexTicketsTableOnHashes + const IndexTicketsTableOnPoolStatus + const IndexTicketsTableOnTxDbID + const IndexTransactionTableOnBlockHeight + const IndexTransactionTableOnBlockIn + const IndexTransactionTableOnHashes + const IndexVinTableOnPrevOuts + const IndexVinTableOnVins + const IndexVotesTableOnBlockHash + const IndexVotesTableOnBlockTime + const IndexVotesTableOnCandidate + const IndexVotesTableOnHashes + const IndexVotesTableOnHeight + const IndexVotesTableOnVoteVersion + const IndexVoutTableOnSpendTxID + const IndexVoutTableOnTxHashIdx + const InsertAddressRow + const InsertAddressRowOnConflictDoNothing + const InsertAgendaRow + const InsertAgendaVotesRow + const InsertBlockPrevNext + const InsertBlockRow + const InsertBlockRowOnConflictDoNothing + const InsertMetaRow + const InsertMissRow + const InsertMissRowOnConflictDoNothing + const InsertProposalVotesRow + const InsertProposalsRow + const InsertTicketRow + const InsertTicketRowOnConflictDoNothing + const InsertTxRow + const InsertTxRowOnConflictDoNothing + const InsertVinRow + const InsertVinRowOnConflictDoNothing + const InsertVoteRow + const InsertVoteRowOnConflictDoNothing + const InsertVoutRow + const InsertVoutRowOnConflictDoNothing + const MainchainBlocksWithSidechainParent + const MislabeledInvalidBlocks + const MislabeledTicketTransactions + const MissingTicketTransactions + const MissingTickets + const RenameVinsTemp + const RenameVoutsTemp + const ResetVoutSpendTxRowIDs + const RetrieveBestBlockHeight + const RetrieveBestBlockHeightAny + const RetrievePGVersion + const RetrieveSyncCommitSetting + const RetrieveSysSettingsConfFile + const RetrieveSysSettingsPerformance + const RetrieveSysSettingsServer + const RetrieveVoutValue + const RetrieveVoutValues + const SelectAddressAllByAddress + const SelectAddressAllMainchainByAddress + const SelectAddressByTxHash + const SelectAddressCreditsLimitNByAddress + const SelectAddressCsvView + const SelectAddressDebitsLimitNByAddress + const SelectAddressIDByVoutIDAddress + const SelectAddressIDsByFundingOutpoint + const SelectAddressLimitNByAddress + const SelectAddressMergedCreditView + const SelectAddressMergedDebitView + const SelectAddressMergedView + const SelectAddressMergedViewAll + const SelectAddressOldestTxBlockTime + const SelectAddressSpentCountANDValue + const SelectAddressSpentUnspentCountAndValue + const SelectAddressUnspentCountANDValue + const SelectAddressUnspentWithTxn + const SelectAddressesAllTxn + const SelectAddressesAllTxnWithHeight + const SelectAddressesGloballyInvalid + const SelectAddressesMergedCount + const SelectAddressesMergedFundingCount + const SelectAddressesMergedSpentCount + const SelectAgendaVoteTotals + const SelectAgendasActivated + const SelectAgendasHardForked + const SelectAgendasLockedIn + const SelectAgendasVotesByHeight + const SelectAgendasVotesByTime + const SelectAllAgendas + const SelectAllVinInfoByID + const SelectAllVoteDbIDsHeightsTicketDbIDs + const SelectAllVoteDbIDsHeightsTicketHashes + const SelectBlockByTimeRangeSQL + const SelectBlockByTimeRangeSQLNoLimit + const SelectBlockChainRowIDByHash + const SelectBlockDataBest + const SelectBlockDataByHash + const SelectBlockDataByHeight + const SelectBlockDataRange + const SelectBlockDataRangeDesc + const SelectBlockDataRangeWithSkip + const SelectBlockDataRangeWithSkipDesc + const SelectBlockFlags + const SelectBlockHashByHeight + const SelectBlockHeightByHash + const SelectBlockSizeByHeight + const SelectBlockSizeRange + const SelectBlockStats + const SelectBlockStatus + const SelectBlockTimeByHeight + const SelectBlockVoteCount + const SelectBlocksHashes + const SelectBlocksPreviousHash + const SelectBlocksTicketsPrice + const SelectBlocksTimeListingByLimit + const SelectCoinSupply + const SelectDiffByTime + const SelectDisapprovedBlocks + const SelectFeesPerBlockAboveHeight + const SelectFullTxByHash + const SelectFullTxsByHash + const SelectFundingOutpointByTxIn + const SelectFundingOutpointByVinID + const SelectFundingOutpointIndxByVinID + const SelectFundingTxByTxIn + const SelectFundingTxByVinID + const SelectFundingTxsByTx + const SelectGenesisTime + const SelectMetaDBBestBlock + const SelectMetaDBIbdComplete + const SelectMetaDBVersions + const SelectMissCountNonZeros + const SelectMissCountPerBlock + const SelectMissesForTicket + const SelectMissesInBlock + const SelectMissesMainchainForTicket + const SelectMixedTotalPerBlock + const SelectMixedVouts + const SelectPkScriptByID + const SelectPkScriptByOutpoint + const SelectPkScriptByVinID + const SelectPoolInfo + const SelectPoolInfoByHash + const SelectPoolInfoByHeight + const SelectPoolInfoRange + const SelectPoolStatsAboveHeight + const SelectPoolValSizeRange + const SelectProposalVotesChartData + const SelectProposalsLastCommitTime + const SelectRegularTxnsVinsVoutsByBlock + const SelectSBitsByHash + const SelectSBitsByHeight + const SelectSBitsRange + const SelectSideChainBlocks + const SelectSideChainTips + const SelectSpendingTxByPrevOut + const SelectSpendingTxByVinID + const SelectSpendingTxsByPrevTx + const SelectSpendingTxsByPrevTxWithBlockHeight + const SelectTicketIDByHash + const SelectTicketIDHeightByHash + const SelectTicketInfoByHash + const SelectTicketSpendTypeByBlock + const SelectTicketStatusByHash + const SelectTicketsByPrice + const SelectTicketsByType + const SelectTicketsForAddress + const SelectTicketsForPriceAtLeast + const SelectTicketsForPriceAtMost + const SelectTicketsInBlock + const SelectTicketsOutputCountByAllBlocks + const SelectTicketsOutputCountByTPWindow + const SelectTicketsTxDbIDsInBlock + const SelectTxBlockTimeByHash + const SelectTxByHash + const SelectTxDupIDs + const SelectTxnByDbID + const SelectTxnsVinsByBlock + const SelectTxnsVinsVoutsByBlock + const SelectTxsBestBlock + const SelectTxsBlocks + const SelectTxsBlocksAboveHeight + const SelectTxsByBlockHash + const SelectTxsPerDay + const SelectTxsVinsAndVoutsIDs + const SelectUTXOs + const SelectUTXOsViaVinsMatch + const SelectUnspentTickets + const SelectVinDupIDs + const SelectVinIDsALL + const SelectVinVoutPairByID + const SelectVoutByID + const SelectVoutDupIDs + const SelectVoutIDByOutpoint + const SelectWindowsByLimit + const SetAddressMainchainForVinIDs + const SetAddressMainchainForVoutIDs + const SetAddressMatchingTxHashForOutpoint + const SetDBMaintenanceVersion + const SetDBSchemaVersion + const SetIsMainchainByTxHash + const SetIsMainchainByVinID + const SetIsValidByTxHash + const SetIsValidByVinID + const SetIsValidIsMainchainByTxHash + const SetIsValidIsMainchainByVinID + const SetMetaDBBestBlock + const SetMetaDBIbdComplete + const SetTicketPoolStatusForHash + const SetTicketPoolStatusForTicketDbID + const SetTicketSpendingInfoForHash + const SetTicketSpendingInfoForTicketDbID + const SetTicketSpendingInfoForTxDbID + const SetTxTypeOnAddressesByVinAndVoutIDs + const SetTxTypeOnVinsByVinIDs + const SetVinsTableCoinSupplyUpgrade + const SetVoteMileStoneheights + const ShowCreateVinsTable + const ShowCreateVoutsTable + const SpentTicketsWithoutSpendInfo + const TicketPoolStatuses + const UnmatchedSpending + const UnspentTicketsWithSpendInfo + const UpdateAddressesFundingMatchingHash + const UpdateAddressesGloballyInvalid + const UpdateAllAddressesMatchingTxHash + const UpdateAllAddressesMatchingTxHash1 + const UpdateAllAddressesMatchingTxHash2 + const UpdateAllAddressesMatchingTxHashRange + const UpdateBlockMainchain + const UpdateBlockNext + const UpdateBlockNextByHash + const UpdateBlockNextByNextHash + const UpdateLastBlockValid + const UpdateRegularTxnsValidAll + const UpdateRegularTxnsValidByBlock + const UpdateRegularTxnsValidMainchainByBlock + const UpdateTicketsMainchainAll + const UpdateTicketsMainchainByBlock + const UpdateTxnsMainchainAll + const UpdateTxnsMainchainByBlock + const UpdateTxnsValidMainchainAll + const UpdateValidMainchainFromTransactions + const UpdateVotesMainchainAll + const UpdateVotesMainchainByBlock + const UpdateVoutSpendTxRowID + const UpdateVoutsSpendTxRowID + const UpsertAddressRow + const UpsertAgendaRow + const UpsertAgendaVotesRow + const UpsertBlockRow + const UpsertMissRow + const UpsertProposalsRow + const UpsertStats + const UpsertTicketRow + const UpsertTxRow + const UpsertVinRow + const UpsertVoteRow + const UpsertVoutRow + var AddressesIndexNames = []string + var IndexDescriptions = map[string]string + var SelectAllRevokes = fmt.Sprintf(..., stake.TxTypeSSRtx) + func BlockInsertStatement(checked bool) string + func MakeAddressRowInsertStatement(checked, updateOnConflict bool) string + func MakeAgendaInsertStatement(checked bool) string + func MakeAgendaVotesInsertStatement(checked bool) string + func MakeMissInsertStatement(checked, updateOnConflict bool) string + func MakeProposalsInsertStatement(checked bool) string + func MakeSelectAddressAmountFlowByAddress(group string) string + func MakeSelectAddressTimeGroupingCount(group string) string + func MakeSelectAddressTxTypesByAddress(group string) string + func MakeSelectTicketsByPurchaseDate(group string) string + func MakeTicketInsertStatement(checked, updateOnConflict bool) string + func MakeTxInsertStatement(checked, updateOnConflict bool) string + func MakeVinInsertStatement(checked, updateOnConflict bool) string + func MakeVoteInsertStatement(checked, updateOnConflict bool) string + func MakeVoutInsertStatement(checked, updateOnConflict bool) string Other modules containing this package github.com/Decred-Next/dcrndata github.com/Decred-Next/dcrndata/db/dcrpg/v8