Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x 40x | import { CommonProgramOptions, HandlePolicyIdsProgramOptions, OgmiosProgramOptions, PosgresProgramOptions, ProviderImplementations, StakePoolMetadataProgramOptions } from '../options'; import { Milliseconds, Seconds } from '@cardano-sdk/core'; import { TypeOrmStakePoolProviderProps } from '../../StakePool'; import { defaultJobOptions } from '@cardano-sdk/projection-typeorm'; /** cardano-services programs */ export enum Programs { BlockfrostWorker = 'Blockfrost worker', ProviderServer = 'Provider server', Projector = 'Projector' } /** Used as mount segments, so must be URL-friendly */ export enum ServiceNames { Asset = 'asset', ChainHistory = 'chain-history', Handle = 'handle', NetworkInfo = 'network-info', Rewards = 'rewards', StakePool = 'stake-pool', TxSubmit = 'tx-submit', Utxo = 'utxo' } export const METADATA_JOB_RETRY_DELAY_DEFAULT = defaultJobOptions.retryDelay; export const POOLS_METRICS_INTERVAL_DEFAULT = 1000; export const POOLS_METRICS_OUTDATED_INTERVAL_DEFAULT = 100; export enum ProjectorOptionDescriptions { BlocksBufferLength = 'Chain sync event (blocks) buffer length', DropSchema = 'Drop and recreate database schema to project from origin', DryRun = 'Initialize the projection, but do not start it', ExitAtBlockNo = 'Exit after processing this block. Intended for benchmark testing', MetadataJobRetryDelay = 'Retry delay for metadata fetch job in seconds', PoolsMetricsInterval = 'Interval in number of blocks between two stake pools metrics jobs to update all metrics', PoolsMetricsOutdatedInterval = 'Interval in number of blocks between two stake pools metrics jobs to update only outdated metrics', Synchronize = 'Synchronize the schema from the models' } export enum ProviderServerOptionDescriptions { AllowedOrigins = 'List of allowed CORS origins separated by comma', AssetCacheTtl = 'Asset info and NFT Metadata cache TTL in seconds (600 by default)', DisableStakePoolMetricApy = 'Omit this metric for improved query performance', EpochPollInterval = 'Epoch poll interval', FuzzyOptions = 'Options for the fuzzy search on stake pool metadata', HandleProviderServerUrl = 'URL for the Handle provider server', HealthCheckCacheTtl = 'Health check cache TTL in seconds between 1 and 10', OverrideFuzzyOptions = 'Allows the override of fuzzyOptions through queryStakePools call', PaginationPageSizeLimit = 'Pagination page size limit shared across all providers', SubmitApiUrl = 'cardano-submit-api URL', SubmitValidateHandles = 'Validate handle resolutions before submitting transactions. Requires handle provider options (USE_KORA_LABS or POSTGRES options with HANDLE suffix).', TokenMetadataCacheTtl = 'Token Metadata API cache TTL in seconds', TokenMetadataRequestTimeout = 'Token Metadata request timeout in milliseconds', TokenMetadataServerUrl = 'Token Metadata API server URL', UseTypeOrmStakePoolProvider = 'Enables the TypeORM Stake Pool Provider', UseBlockfrost = 'Enables Blockfrost cached data DB', UseSubmitApi = 'Use cardano-submit-api provider', UseTypeormAssetProvider = 'Use the TypeORM Asset Provider (default is db-sync)', UseWebSocketApi = 'Use WebSocket API', BlockfrostCustomNetworkUrl = 'URL for custom hosted blockfrost-ryo' } export type ProviderServerArgs = CommonProgramOptions & PosgresProgramOptions<'DbSync'> & PosgresProgramOptions<'Handle'> & PosgresProgramOptions<'StakePool'> & PosgresProgramOptions<'Asset'> & OgmiosProgramOptions & HandlePolicyIdsProgramOptions & StakePoolMetadataProgramOptions & TypeOrmStakePoolProviderProps & ProviderImplementations & { allowedOrigins?: string[]; assetCacheTTL?: Seconds; disableStakePoolMetricApy?: boolean; epochPollInterval: number; handleProviderServerUrl?: string; healthCheckCacheTtl: Seconds; serviceNames: ServiceNames[]; submitApiUrl?: URL; submitValidateHandles?: boolean; tokenMetadataCacheTTL?: Seconds; tokenMetadataServerUrl?: string; tokenMetadataRequestTimeout?: Milliseconds; useBlockfrost?: boolean; useSubmitApi?: boolean; useTypeormAssetProvider?: boolean; useTypeormStakePoolProvider?: boolean; useWebSocketApi?: boolean; }; |