timer

package
v0.0.0-...-7cf6ef0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Overview

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var AllBTCAddress = make(map[string][]string)

所有btc和LTC的地址 如AllBTCAddress【"BTC"】

View Source
var AllBTCAddressMap = make(map[string]string)

所有BTC 地址的索引

View Source
var AllLTCAddressMap = make(map[string]string)

所有LTC 地址的索引

View Source
var Time2 = time.NewTicker(3 * time.Second)

获取所有主地址

View Source
var USDT_PPID = db.USDT_PPID
View Source
var Wallet = cli.NewAppServer()

Functions

func TransferTimer

func TransferTimer()

Types

type AddressJson

type AddressJson struct {
	Address string
	Deep    []uint32
}

type ApplyMsg

type ApplyMsg struct {
	CoinName  string     `json:"coin_name"`
	TemHash   string     `json:"t_hash"`
	Reason    string     `json:"reason"`
	Deadline  string     `json:"deadline"`
	Miner     string     `json:"miner"`
	Timestamp int        `json:"timestamp"`
	Amount    string     `json:"amount"`
	ApplyVos  []ApplyVos `json:"applys"`
	CoinId    int        `json:"coin_id"`
	Token     string     `json:"token"`
	Currency  string     `json:"currency"`
}

type ApplyVos

type ApplyVos struct {
	ToAddress string   `json:"to_address"`
	Tag       string   `json:"tag"`
	Amount    []string `json:"amount"`
}

type TransferInfo

type TransferInfo struct {
	TransferMsgs   string
	ApplyAccount   string
	ApplyPublickey string
	ApplySign      string
	ApproversSign  string
	AmountIndex    int
	ToAddress      string
	TemInfo        string
}

type TransferMsgJson

type TransferMsgJson struct {
	FromAddress AddressJson
	ToAddress   AddressJson
	Token       string
}

type TxinfoEntity

type TxinfoEntity struct {
	In     []addr
	Out    []addr
	ExtIn  []addr
	ExtOut []addr
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL