Documentation ¶
Index ¶
- Constants
- type Address
- type AddressFeature
- type Block
- type Mempool
- type Meta
- type Mining
- type Node
- type OmniTansaction
- type Retention
- type StatisticsDayBlock
- type StatisticsDayGrafanaData
- type StatisticsDayMinerCost
- type StatisticsDayMinerPool
- type StatisticsDayOHLC
- type StatisticsDayTransaction
- type StatisticsDayUser
- type StatisticsMonth
- type StatisticsWeek
- type TetherAddress
- type Transaction
- type User
- type VIn
- type VOut
Constants ¶
View Source
const (
TablePrefix = "btc"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { ID int64 `xorm:"id bigint autoincr pk"` Address string `xorm:"address varchar(255) notnull unique"` BirthTimestamp int64 `xorm:"birth_timestamp int notnull default '0' index"` LatestTxTimestamp int64 `xorm:"latest_tx_timestamp int notnull default '0' index"` Value int64 `xorm:"value bigint notnull default '0' index"` UserId int64 `xorm:"user_id bigint notnull default '0' index"` }
type AddressFeature ¶
type AddressFeature struct { ID int64 `xorm:"id bigint autoincr pk"` Address string `xorm:"address varchar(255) notnull unique"` InputTxNumber int64 `xorm:"input_tx_number int notnull default '0'"` OutputTxNumber int64 `xorm:"output_tx_number int notnull default '0'"` InputValue float64 `xorm:"input_value double notnull default '0'"` OutputValue float64 `xorm:"output_value double notnull default '0'"` InputNumberAvg float64 `xorm:"input_number_avg double notnull default '0'"` OutputNumberAvg float64 `xorm:"output_number_avg double notnull default '0'"` ProportionA float64 `xorm:"proportion_a double notnull default '0'"` ProportionB float64 `xorm:"proportion_b double notnull default '0'"` InValueAvg float64 `xorm:"in_value_avg double notnull default '0'"` OutValueAvg float64 `xorm:"out_value_avg double notnull default '0'"` IsMining int `xorm:"is_mining int notnull default '0'"` InFeeTotal float64 `xorm:"in_fee_total double notnull default '0'"` OutFeeTotal float64 `xorm:"out_fee_total double notnull default '0'"` InFeeAvg float64 `xorm:"in_fee_avg double notnull default '0'"` OutFeeAvg float64 `xorm:"out_fee_avg double notnull default '0'"` InTxDayAvg float64 `xorm:"in_tx_day_avg double notnull default '0'"` OutTxDayAvg float64 `xorm:"out_tx_day_avg double notnull default '0'"` Category string `xorm:"category varchar(20) notnull"` }
func (AddressFeature) TableName ¶
func (t AddressFeature) TableName() string
type Block ¶
type Block struct { ID int64 `xorm:"id bigint autoincr pk"` Height int64 `xorm:"height int notnull unique"` Size int64 `xorm:"size int notnull"` Timestamp int64 `xorm:"timestamp int notnull index"` Version int64 `xorm:"version int notnull"` MerkleRoot string `xorm:"merkle_root char(64) notnull"` Bits string `xorm:"bits char(8) notnull"` Nonce int64 `xorm:"nonce bigint notnull"` Hash string `xorm:"hash char(64) notnull index"` StrippedSize int64 `xorm:"stripped_size int notnull"` Weight int64 `xorm:"weight int notnull"` MedianTimestamp int64 `xorm:"median_timestamp int notnull"` Difficulty float64 `xorm:"difficulty double notnull"` PreviousHash string `xorm:"prev_hash char(64) notnull"` ChainWork string `xorm:"chain_work char(64) notnull"` TxCount int64 `xorm:"tx_count int notnull"` PoolName string `xorm:"pool_name varchar(100) notnull default ''"` }
type Mempool ¶
type Meta ¶
type Meta struct { ID int64 `xorm:"id bigint autoincr pk"` Name string `xorm:"name varchar(255) notnull unique"` LastID int64 `xorm:"last_id bigint notnull"` Count int64 `xorm:"count bigint notnull"` CreatedTime time.Time `xorm:"created_time created notnull"` UpdatedTime time.Time `xorm:"updated_time updated notnull"` }
type Mining ¶
type Node ¶
type Node struct { ID int64 `xorm:"id bigint autoincr pk"` IP string `xorm:"ip varchar(40) notnull unique(address)"` Port string `xorm:"port varchar(5) notnull unique(address)"` IPVersion int `xorm:"ip_version tinyint notnull"` UserAgent string `xorm:"user_agent varchar(256) notnull"` ProtocolVersion int64 `xorm:"protocol_version bigint notnull"` Services string `xorm:"services varchar(256) notnull"` LastSeenTimestamp int64 `xorm:"last_seen_timestamp bigint notnull"` LastBlockHeight int64 `xorm:"last_block_height bigint notnull"` CountryName string `xorm:"country_name varchar(256) notnull"` RegionName string `xorm:"region_name varchar(256) notnull"` CityName string `xorm:"city_name varchar(256) notnull"` Owner string `xorm:"owner varchar(256) notnull"` ISP string `xorm:"isp varchar(256) notnull"` Latitude string `xorm:"latitude varchar(256) notnull"` Longitude string `xorm:"longitude varchar(256) notnull"` Timezone string `xorm:"timezone varchar(256) notnull"` UTCOffset string `xorm:"utc_offset varchar(256) notnull"` IDDCode string `xorm:"idd_code varchar(256) notnull"` CountryCode string `xorm:"country_code varchar(256) notnull"` ContinentCode string `xorm:"continent_code varchar(256) notnull"` }
type OmniTansaction ¶
type OmniTansaction struct { ID int64 `xorm:"id bigint autoincr pk"` TxID string `xorm:"tx_id char(64) notnull unique(tx_id)"` SendingAddress string `xorm:"sending_address varchar(64) notnull index(sending_address)"` ReferenceAddress string `xorm:"reference_address varchar(64) notnull index(reference_address)"` BlockHeight int64 `xorm:"block_height bigint notnull index(block_height)"` Timestamp int64 `xorm:"timestamp bigint notnull index(timestamp)"` Version int64 `xorm:"version bigint notnull"` TypeInt int64 `xorm:"type_int bigint notnull"` Type string `xorm:"type varchar(64) notnull"` PropertyID int64 `xorm:"propertyid bigint notnull index(propertyid)"` Amount uint64 `xorm:"amount bigint notnull"` Number int64 `xorm:"number bigint notnull"` Fee uint64 `xorm:"fee bigint notnull"` Valid int64 `xorm:"valid bigint notnull"` }
func (OmniTansaction) TableName ¶
func (t OmniTansaction) TableName() string
type Retention ¶
type Retention struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp bigint notnull index"` NewAddressCount int64 `xorm:"new_address_count bigint notnull"` AddressRetention1 int64 `xorm:"address_retention_1_month bigint notnull"` AddressRetention2 int64 `xorm:"address_retention_2_month bigint notnull"` AddressRetention3 int64 `xorm:"address_retention_3_month bigint notnull"` AddressRetention4 int64 `xorm:"address_retention_4_month bigint notnull"` AddressRetention5 int64 `xorm:"address_retention_5_month bigint notnull"` AddressRetention6 int64 `xorm:"address_retention_6_month bigint notnull"` AddressRetention7 int64 `xorm:"address_retention_7_month bigint notnull"` AddressRetention8 int64 `xorm:"address_retention_8_month bigint notnull"` AddressRetention9 int64 `xorm:"address_retention_9_month bigint notnull"` AddressRetention10 int64 `xorm:"address_retention_10_month bigint notnull"` AddressRetention11 int64 `xorm:"address_retention_11_month bigint notnull"` NewUserCount int64 `xorm:"new_user_count bigint notnull"` UserRetention1 int64 `xorm:"user_retention_1_month bigint notnull"` UserRetention2 int64 `xorm:"user_retention_2_month bigint notnull"` UserRetention3 int64 `xorm:"user_retention_3_month bigint notnull"` UserRetention4 int64 `xorm:"user_retention_4_month bigint notnull"` UserRetention5 int64 `xorm:"user_retention_5_month bigint notnull"` UserRetention6 int64 `xorm:"user_retention_6_month bigint notnull"` UserRetention7 int64 `xorm:"user_retention_7_month bigint notnull"` UserRetention8 int64 `xorm:"user_retention_8_month bigint notnull"` UserRetention9 int64 `xorm:"user_retention_9_month bigint notnull"` UserRetention10 int64 `xorm:"user_retention_10_month bigint notnull"` UserRetention11 int64 `xorm:"user_retention_11_month bigint notnull"` }
type StatisticsDayBlock ¶
type StatisticsDayBlock struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` BlockSizeSum int64 `xorm:"block_size_sum bigint notnull default '0'"` BlockSizeNew int64 `xorm:"block_size_new bigint notnull default '0'"` BlockSizeAvg float64 `xorm:"block_size_avg double notnull default '0'"` BlockFeeAvg float64 `xorm:"block_fee_avg double notnull default '0'"` BlockFeeSum float64 `xorm:"block_fee_sum double notnull default '0'"` BlockFeeMid float64 `xorm:"block_fee_mid double notnull default '0'"` BlockCoinbaseAvg float64 `xorm:"block_coinbase_avg double notnull default '0'"` BlockTimeSpent float64 `xorm:"block_time_spent double notnull default '0'"` DifficultySum float64 `xorm:"difficulty_sum double notnull default '0'"` Supply int64 `xorm:"supply bigint notnull default '0'"` MinerCount int64 `xorm:"miner_count bigint notnull default '0'"` TotalMinerCount int64 `xorm:"total_miner_count bigint notnull default '0'"` }
func (StatisticsDayBlock) TableName ¶
func (t StatisticsDayBlock) TableName() string
type StatisticsDayGrafanaData ¶
type StatisticsDayGrafanaData struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` ActiveAddressBirthTimeLevel1 int64 `xorm:"active_address_birth_time_level1 bigint notnull default '0'"` ActiveAddressBirthTimeLevel2 int64 `xorm:"active_address_birth_time_level2 bigint notnull default '0'"` ActiveAddressBirthTimeLevel3 int64 `xorm:"active_address_birth_time_level3 bigint notnull default '0'"` ActiveAddressBirthTimeLevel4 int64 `xorm:"active_address_birth_time_level4 bigint notnull default '0'"` ActiveAddressBirthTimeLevel5 int64 `xorm:"active_address_birth_time_level5 bigint notnull default '0'"` ActiveAddressBirthTimeLevel6 int64 `xorm:"active_address_birth_time_level6 bigint notnull default '0'"` ActiveUserBirthTimeLevel1 int64 `xorm:"active_user_birth_time_level1 bigint notnull default '0'"` ActiveUserBirthTimeLevel2 int64 `xorm:"active_user_birth_time_level2 bigint notnull default '0'"` ActiveUserBirthTimeLevel3 int64 `xorm:"active_user_birth_time_level3 bigint notnull default '0'"` ActiveUserBirthTimeLevel4 int64 `xorm:"active_user_birth_time_level4 bigint notnull default '0'"` ActiveUserBirthTimeLevel5 int64 `xorm:"active_user_birth_time_level5 bigint notnull default '0'"` ActiveUserBirthTimeLevel6 int64 `xorm:"active_user_birth_time_level6 bigint notnull default '0'"` ActiveDayCountLevel1 int64 `xorm:"active_day_count_level1 bigint notnull default '0'"` ActiveDayCountLevel2 int64 `xorm:"active_day_count_level2 bigint notnull default '0'"` ActiveDayCountLevel3 int64 `xorm:"active_day_count_level3 bigint notnull default '0'"` ActiveDayCountLevel4 int64 `xorm:"active_day_count_level4 bigint notnull default '0'"` ActiveDayCountLevel5 int64 `xorm:"active_day_count_level5 bigint notnull default '0'"` ActiveDayCountLevel6 int64 `xorm:"active_day_count_level6 bigint notnull default '0'"` ActiveDayCountLevel7 int64 `xorm:"active_day_count_level7 bigint notnull default '0'"` ActiveDayCountLevel8 int64 `xorm:"active_day_count_level8 bigint notnull default '0'"` ActiveDayCountLevel9 int64 `xorm:"active_day_count_level9 bigint notnull default '0'"` ActiveDayCountLevel10 int64 `xorm:"active_day_count_level10 bigint notnull default '0'"` ActiveDayCountLevel11 int64 `xorm:"active_day_count_level11 bigint notnull default '0'"` ActiveDayCountLevel12 int64 `xorm:"active_day_count_level12 bigint notnull default '0'"` ActiveDayCountLevel13 int64 `xorm:"active_day_count_level13 bigint notnull default '0'"` ActiveDayCountLevel14 int64 `xorm:"active_day_count_level14 bigint notnull default '0'"` ActiveDayCountLevel15 int64 `xorm:"active_day_count_level15 bigint notnull default '0'"` AddressTxCountLevel1 int64 `xorm:"address_tx_count_level1 bigint notnull default '0'"` AddressTxCountLevel2 int64 `xorm:"address_tx_count_level2 bigint notnull default '0'"` AddressTxCountLevel3 int64 `xorm:"address_tx_count_level3 bigint notnull default '0'"` UserAddressCountLevel1 int64 `xorm:"user_address_count_level1 bigint notnull default '0'"` UserAddressCountLevel2 int64 `xorm:"user_address_count_level2 bigint notnull default '0'"` UserAddressCountLevel3 int64 `xorm:"user_address_count_level3 bigint notnull default '0'"` UserAddressCountLevel4 int64 `xorm:"user_address_count_level4 bigint notnull default '0'"` UTXOLevel1 int64 `xorm:"utxo_level1 bigint notnull default '0'"` UTXOLevel2 int64 `xorm:"utxo_level2 bigint notnull default '0'"` UTXOLevel3 int64 `xorm:"utxo_level3 bigint notnull default '0'"` UTXOLevel4 int64 `xorm:"utxo_level4 bigint notnull default '0'"` }
func (StatisticsDayGrafanaData) TableName ¶
func (t StatisticsDayGrafanaData) TableName() string
type StatisticsDayMinerCost ¶
type StatisticsDayMinerCost struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` Cost float64 `xorm:"cost double notnull default '0'"` BTCOutput float64 `xorm:"btc_output double notnull default '0'"` EnergyCPerDay float64 `xorm:"energy_c_per_day double notnull default '0'"` EnergyCPerBtc float64 `xorm:"energy_c_per_btc double notnull default '0'"` Income float64 `xorm:"income double notnull default '0'"` Profit float64 `xorm:"profit double notnull default '0'"` }
func (StatisticsDayMinerCost) TableName ¶
func (t StatisticsDayMinerCost) TableName() string
type StatisticsDayMinerPool ¶
type StatisticsDayMinerPool struct { ID int64 `xorm:"id bigint autoincr pk"` Name string `xorm:"name varchar(100) notnull unique(name_time)"` Timestamp int64 `xorm:"timestamp bigint notnull unique(name_time)"` CalcForce float64 `xorm:"calc_force double notnull default '0'"` BlockCount int64 `xorm:"block_count bigint notnull default '0'"` EmptyBlockCount int64 `xorm:"empty_block_count bigint notnull default '0'"` SizeAvg float64 `xorm:"size_avg double notnull default '0'"` FeeAvg float64 `xorm:"fee_avg double notnull default '0'"` VOutValueAvg float64 `xorm:"vout_value_avg double notnull default '0'"` }
func (StatisticsDayMinerPool) TableName ¶
func (t StatisticsDayMinerPool) TableName() string
type StatisticsDayOHLC ¶
type StatisticsDayOHLC struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` Open float64 `xorm:"open decimal(38,4) notnull"` High float64 `xorm:"high decimal(38,4) notnull"` Low float64 `xorm:"low decimal(38,4) notnull"` Close float64 `xorm:"close decimal(38,4) notnull"` }
func (StatisticsDayOHLC) TableName ¶
func (t StatisticsDayOHLC) TableName() string
type StatisticsDayTransaction ¶
type StatisticsDayTransaction struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp bigint notnull unique"` ValueDayConsume float64 `xorm:"value_day_consume double notnull default '0'"` TxRate float64 `xorm:"tx_rate double notnull default '0'"` TxCount int64 `xorm:"tx_count bigint notnull default '0'"` TxVInAvg float64 `xorm:"tx_vin_avg double notnull default '0'"` TxVOutAvg float64 `xorm:"tx_vout_avg double notnull default '0'"` TxSizeAvg float64 `xorm:"tx_size_avg double notnull default '0'"` TxValueSum float64 `xorm:"tx_value_sum double notnull default '0'"` TxValueAvg float64 `xorm:"tx_value_avg double notnull default '0'"` TxFeeAvg float64 `xorm:"tx_fee_avg double notnull default '0'"` TxSizeFeeAvg float64 `xorm:"tx_size_fee_avg double notnull default '0'"` TxValueWithoutHotAddress float64 `xorm:"tx_value_without_hot_address double notnull default '0'"` TxValueWithoutLongChain float64 `xorm:"tx_value_without_long_chain double notnull default '0'"` BlockTradeCount int64 `xorm:"block_trade_count bigint notnull default '0'"` BlockTradeSum int64 `xorm:"block_trade_sum bigint notnull default '0'"` AddressCountSum int64 `xorm:"address_count_sum bigint notnull default '0'"` AddressCountNew int64 `xorm:"address_count_new bigint notnull default '0'"` ActiveAddressCount int64 `xorm:"active_address_count bigint notnull default '0'"` AddressVInVOutAvg float64 `xorm:"address_vin_vout_avg double notnull default '0'"` AddressTxValueAvg float64 `xorm:"address_tx_value_avg double notnull default '0'"` ActivePercent float64 `xorm:"active_percent double notnull default '0'"` StoreRate float64 `xorm:"store_rate double notnull default '0'"` RatioOfMarketValue float64 `xorm:"ratio_of_market_value double notnull default '0'"` Freshness float64 `xorm:"freshness double notnull default '0'"` DormantAddress int64 `xorm:"dormant_address bigint notnull default '0'"` DeadAddress int64 `xorm:"dead_address bigint notnull default '0'"` WakeUpAddress int64 `xorm:"wake_up_address bigint notnull default '0'"` RebornAddress int64 `xorm:"reborn_address bigint notnull default '0'"` }
func (StatisticsDayTransaction) TableName ¶
func (t StatisticsDayTransaction) TableName() string
type StatisticsDayUser ¶
type StatisticsDayUser struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` UserCount int64 `xorm:"user_count bigint notnull default '0'"` UserNew int64 `xorm:"user_new bigint notnull default '0'"` UserActive int64 `xorm:"user_active bigint notnull default '0'"` ExchangeVInValueSum int64 `xorm:"exchange_vin_value_sum bigint notnull default '0'"` ExchangeVOutValueSum int64 `xorm:"exchange_vout_value_sum bigint notnull default '0'"` }
func (StatisticsDayUser) TableName ¶
func (t StatisticsDayUser) TableName() string
type StatisticsMonth ¶
type StatisticsMonth struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` ActiveAddressCount int64 `xorm:"active_address_count int notnull default '0'"` ActiveUserCount int64 `xorm:"active_user_count int notnull default '0'"` }
func (StatisticsMonth) TableName ¶
func (t StatisticsMonth) TableName() string
type StatisticsWeek ¶
type StatisticsWeek struct { ID int64 `xorm:"id bigint autoincr pk"` Timestamp int64 `xorm:"timestamp int notnull unique"` UserActive int64 `xorm:"user_active bigint notnull default '0'"` Retention float64 `xorm:"retention double notnull default '0'"` RatioOfMarketValue float64 `xorm:"ratio_of_market_value double notnull default '0'"` ValueConsume float64 `xorm:"value_consume double notnull default '0'"` TxValueSum float64 `xorm:"tx_value_sum double notnull default '0'"` DifficultySum float64 `xorm:"difficulty_sum double notnull default '0'"` UserCount int64 `xorm:"user_count bigint notnull default '0'"` UserNew int64 `xorm:"user_new bigint notnull default '0'"` UserNewActiveRate float64 `xorm:"user_new_active_rate double notnull default '0'"` ActiveAddressCount int64 `xorm:"active_address_count bigint notnull default '0'"` TxCount int64 `xorm:"tx_count bigint notnull default '0'"` MultisigCount int64 `xorm:"multisig_count bigint notnull default '0'"` NonstandardCount int64 `xorm:"nonstandard_count bigint notnull default '0'"` NulldataCount int64 `xorm:"nulldata_count bigint notnull default '0'"` PubkeyCount int64 `xorm:"pubkey_count bigint notnull default '0'"` PubkeyhashCount int64 `xorm:"pubkeyhash_count bigint notnull default '0'"` ScripthashCount int64 `xorm:"scripthash_count bigint notnull default '0'"` WithnessV0KeyhashCount int64 `xorm:"withness_v0_keyhash_count bigint notnull default '0'"` WithnessV0ScripthashCount int64 `xorm:"withness_v0_scripthash_count bigint notnull default '0'"` ValueLevel1 int64 `xorm:"value_level1 bigint notnull default '0'"` ValueLevel2 int64 `xorm:"value_level2 bigint notnull default '0'"` ValueLevel3 int64 `xorm:"value_level3 bigint notnull default '0'"` ValueLevel4 int64 `xorm:"value_level4 bigint notnull default '0'"` ValueLevel5 int64 `xorm:"value_level5 bigint notnull default '0'"` ValueLevel6 int64 `xorm:"value_level6 bigint notnull default '0'"` ValueCountLevel1 int64 `xorm:"value_count_level1 bigint notnull default '0'"` ValueCountLevel2 int64 `xorm:"value_count_level2 bigint notnull default '0'"` ValueCountLevel3 int64 `xorm:"value_count_level3 bigint notnull default '0'"` ValueCountLevel4 int64 `xorm:"value_count_level4 bigint notnull default '0'"` ValueCountLevel5 int64 `xorm:"value_count_level5 bigint notnull default '0'"` ValueCountLevel6 int64 `xorm:"value_count_level6 bigint notnull default '0'"` }
func (StatisticsWeek) TableName ¶
func (t StatisticsWeek) TableName() string
type TetherAddress ¶
type TetherAddress struct { ID int64 `xorm:"id bigint autoincr pk"` Address string `xorm:"address varchar(255) notnull unique"` BirthTimestamp int64 `xorm:"birth_timestamp int notnull default '0' index"` LatestTxTimestamp int64 `xorm:"latest_tx_timestamp int notnull default '0' index"` Value int64 `xorm:"value bigint notnull default '0' index"` }
func (TetherAddress) TableName ¶
func (t TetherAddress) TableName() string
type Transaction ¶
type Transaction struct { ID int64 `xorm:"id bigint autoincr pk"` TxID string `xorm:"tx_id char(64) notnull unique(IDX_btc_transaction_tx_id_block_height)"` BlockHeight int64 `xorm:"block_height int notnull unique(IDX_btc_transaction_tx_id_block_height)"` Timestamp int64 `xorm:"timestamp int notnull"` Version int64 `xorm:"version int notnull"` Size int64 `xorm:"size int notnull"` VSize int64 `xorm:"vsize int notnull"` LockTime int64 `xorm:"lock_time bigint notnull"` Hash string `xorm:"hash char(64) notnull"` Weight int64 `xorm:"weight int notnull"` Number int64 `xorm:"number int notnull"` VInCount int `xorm:"vin_count smallint notnull"` VInValue int64 `xorm:"vin_value bigint notnull"` VOutCount int `xorm:"vout_count smallint notnull"` VOutValue uint64 `xorm:"vout_value bigint notnull"` Fee int64 `xorm:"fee bigint notnull"` }
func (Transaction) TableName ¶
func (t Transaction) TableName() string
type User ¶
type VIn ¶
type VIn struct { ID int64 `xorm:"id bigint autoincr pk"` BlockHeight int64 `xorm:"block_height int notnull"` TxID string `xorm:"tx_id char(64) notnull"` TxIDOrigin string `xorm:"tx_id_origin char(64) notnull"` Timestamp int64 `xorm:"timestamp int notnull"` Coinbase string `xorm:"coinbase varchar(200) notnull"` Sequence int64 `xorm:"sequence bigint notnull"` Number int64 `xorm:"number int notnull"` VOutNumberOrigin int64 `xorm:"vout_num_origin smallint notnull"` AddressOrigin string `xorm:"address_origin varchar(256) notnull"` ValueOrigin int64 `xorm:"value_origin bigint notnull"` ScriptSignature string `xorm:"script_sig text notnull"` TxInWitness string `xorm:"tx_in_witness text notnull"` }
type VOut ¶
type VOut struct { ID int64 `xorm:"id bigint autoincr pk"` TxID string `xorm:"tx_id char(64) notnull"` BlockHeight int64 `xorm:"block_height int notnull"` Value uint64 `xorm:"value bigint notnull"` Address string `xorm:"address varchar(256) notnull"` Timestamp int64 `xorm:"timestamp int notnull"` ScriptPublicKey string `xorm:"script_pubkey text notnull"` Type string `xorm:"type varchar(256) notnull"` RequiredSignatures int64 `xorm:"required_signatures smallint notnull"` Number int64 `xorm:"number smallint notnull"` IsUsed int64 `xorm:"is_used tinyint notnull"` IsCoinbase int64 `xorm:"is_coinbase tinyint notnull"` }
Source Files ¶
- address.go
- address_feature.go
- block.go
- mempool.go
- meta.go
- mining.go
- node.go
- omni_transaction.go
- retention.go
- statistics_day_block.go
- statistics_day_grafana_data.go
- statistics_day_miner_cost.go
- statistics_day_miner_pool.go
- statistics_day_ohlc.go
- statistics_day_transaction.go
- statistics_day_user.go
- statistics_month.go
- statistics_week.go
- tether_address.go
- transaction.go
- user.go
- vin.go
- vout.go
Click to show internal directories.
Click to hide internal directories.