Versions in this module Expand all Collapse all v3 v3.1.1 Jul 23, 2019 Changes in this version + const AssignMatchingTxHashForOutpoint + const ClearBlockChainNextHash + const CountVinsRows + const CreateAddressTable + const CreateAgendaVotesTable + const CreateAgendasTable + const CreateBlockPrevNextTable + const CreateBlockTable + const CreateMetaTable + const CreateMissesTable + const CreateProposalVotesTable + const CreateProposalsTable + const CreateTestingTable + const CreateTicketsTable + const CreateTransactionTable + const CreateVinTable + const CreateVotesTable + const CreateVoutTable + const DeindexAddressTableOnAddress + const DeindexAddressTableOnTxHash + const DeindexAddressTableOnVoutID + const DeindexAgendaVotesTableOnAgendaID + const DeindexAgendasTableOnAgendaID + const DeindexBlockTableOnHash + const DeindexBlockTimeOnTableAddress + const DeindexBlocksTableOnHeight + const DeindexMatchingTxHashOnTableAddress + const DeindexMissesTableOnHashes + const DeindexProposalVotesTableOnProposalsID + const DeindexProposalsTableOnToken + const DeindexTicketsTableOnHashes + const DeindexTicketsTableOnPoolStatus + const DeindexTicketsTableOnTxDbID + const DeindexTransactionTableOnBlockIn + const DeindexTransactionTableOnHashes + const DeindexVinTableOnPrevOuts + const DeindexVinTableOnVins + const DeindexVotesTableOnBlockHash + const DeindexVotesTableOnBlockTime + const DeindexVotesTableOnCandidate + const DeindexVotesTableOnHashes + const DeindexVotesTableOnHeight + const DeindexVotesTableOnVoteVersion + 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 DistinctVinsToTempTable + const DistinctVoutsToTempTable + const IndexAddressTableOnAddress + const IndexAddressTableOnTxHash + const IndexAddressTableOnVoutID + const IndexAgendaVotesTableOnAgendaID + const IndexAgendasTableOnAgendaID + const IndexBlockTableOnHash + const IndexBlockTimeOnTableAddress + const IndexBlocksTableOnHeight + const IndexExists + const IndexIsUnique + const IndexMatchingTxHashOnTableAddress + const IndexMissesTableOnHashes + const IndexOfAddressTableOnAddress + const IndexOfAddressTableOnBlockTime + const IndexOfAddressTableOnMatchingTx + const IndexOfAddressTableOnTx + const IndexOfAddressTableOnVoutID + const IndexOfAgendaVotesTableOnRowIDs + const IndexOfAgendasTableOnName + const IndexOfBlocksTableOnHash + const IndexOfBlocksTableOnHeight + const IndexOfMissesTableOnHashes + const IndexOfProposalVotesTableOnProposalsID + const IndexOfProposalsTableOnToken + const IndexOfTicketsTableOnHashes + const IndexOfTicketsTableOnPoolStatus + const IndexOfTicketsTableOnTxRowID + const IndexOfTransactionsTableOnBlockInd + const IndexOfTransactionsTableOnHashes + const IndexOfVinsTableOnPrevOut + const IndexOfVinsTableOnVin + const IndexOfVotesTableOnBlockHash + const IndexOfVotesTableOnBlockTime + const IndexOfVotesTableOnCandBlock + const IndexOfVotesTableOnHashes + const IndexOfVotesTableOnHeight + const IndexOfVotesTableOnVersion + const IndexOfVoutsTableOnTxHashInd + const IndexProposalVotesTableOnProposalsID + const IndexProposalsTableOnToken + const IndexTicketsTableOnHashes + const IndexTicketsTableOnPoolStatus + const IndexTicketsTableOnTxDbID + const IndexTransactionTableOnBlockIn + const IndexTransactionTableOnHashes + const IndexVinTableOnPrevOuts + const IndexVinTableOnVins + const IndexVotesTableOnBlockHash + const IndexVotesTableOnBlockTime + const IndexVotesTableOnCandidate + const IndexVotesTableOnHashes + const IndexVotesTableOnHeight + const IndexVotesTableOnVoteVersion + 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 RenameVinsTemp + const RenameVoutsTemp + 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 SelectBlockFlags + const SelectBlockHashByHeight + const SelectBlockHeightByHash + const SelectBlockStats + const SelectBlockStatus + const SelectBlockTimeByHeight + const SelectBlockVoteCount + const SelectBlocksHashes + const SelectBlocksPreviousHash + const SelectBlocksTicketsPrice + const SelectBlocksTimeListingByLimit + const SelectCoinSupply + const SelectDisapprovedBlocks + 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 SelectPkScriptByID + const SelectPkScriptByOutpoint + const SelectPkScriptByVinID + const SelectProposalVotesChartData + const SelectProposalsLastCommitTime + const SelectRegularTxnsVinsVoutsByBlock + 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 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 SelectUnspentTickets + const SelectVinDupIDs + const SelectVinIDsALL + const SelectVinVoutPairByID + const SelectVoutByID + const SelectVoutDupIDs + const SelectVoutIDByOutpoint + const SelectWindowsByLimit + const SetAddressMainchainForVinIDs + const SetAddressMainchainForVoutIDs + const SetAddressMatchingTxHashForOutpoint + 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 UpdateAddressesFundingMatchingHash + const UpdateAddressesGloballyInvalid + 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 UpsertAddressRow + const UpsertAgendaRow + const UpsertAgendaVotesRow + const UpsertBlockRow + const UpsertMissRow + const UpsertProposalsRow + const UpsertTicketRow + const UpsertTxRow + const UpsertVinRow + const UpsertVoteRow + const UpsertVoutRow + var AddressesIndexNames = []string + var IndexDescriptions = map[string]string + var SelectAllRevokes = fmt.Sprintf(..., stake.TxTypeSSRtx) + var SelectTicketsOutputCountByAllBlocks = ... + var SelectTicketsOutputCountByTPWindow = ... + func MakeAddressRowInsertStatement(checked, updateOnConflict bool) string + func MakeAgendaInsertStatement(checked bool) string + func MakeAgendaVotesInsertStatement(checked bool) string + func MakeBlockInsertStatement(block *dbtypes.Block, 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/dcrdata github.com/decred/dcrdata/db/dcrpg github.com/decred/dcrdata/db/dcrpg/v2 github.com/decred/dcrdata/db/dcrpg/v4 github.com/decred/dcrdata/db/dcrpg/v5 github.com/decred/dcrdata/db/dcrpg/v6 github.com/decred/dcrdata/db/dcrpg/v7 github.com/decred/dcrdata/v3 github.com/decred/dcrdata/v4