Not sure what the underscore is for here? (golang) How does assigning a struct literal to a var result in two return values? I dont understand.
var (
_ sdk.AppModule = AppModule{}
_ sdk.AppModuleBasic = AppModuleBasic{}
)
panic: invalid character -- Amino:JSON int/int64/uint/uint64 expects quoted values for javascript numeric support, got: 0. | |
goroutine 1 [running]: | |
github.com/tendermint/go-amino.(*Codec).MustUnmarshalJSON(0xc000542460, 0xc00049f500, 0x6f7, 0x700, 0x1276340, 0xc000bd7fc0) | |
github.com/tendermint/go-amino@v0.15.1/amino.go:445 +0x8a | |
github.com/cosmos/cosmos-sdk/x/auth.AppModule.InitGenesis(0x1907080, 0xc000d09a40, 0x18d4a80, 0xc0004cd9c0, 0x1907080, 0xc000d09a40, 0x1903260, 0xc000d09a40, 0x18d4a80, 0xc0004cda50, ...) | |
github.com/cosmos/cosmos-sdk@v0.34.4-0.20200423194215-1cd1d088df05/x/auth/module.go:120 +0xa1 | |
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(0xc000543110, 0x18e8540, 0xc000042068, 0x1900b60, 0xc000bd7ec0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
github.com/cosmos/cosmos-sdk@v0.34.4-0.20200423194215-1cd1d088df05/types/module/module.go:267 +0x298 | |
github.com/cosmos/gaia/app.(*GaiaApp).InitChainer(0xc0000a1800, 0x18e8540, 0xc000042068, 0x1900b60, 0xc000bd7ec0, 0x0, 0x0, 0x0, |
Not sure what the underscore is for here? (golang) How does assigning a struct literal to a var result in two return values? I dont understand.
var (
_ sdk.AppModule = AppModule{}
_ sdk.AppModuleBasic = AppModuleBasic{}
)
Install the Cosmos app on your Ledger Nano S device to interact with the Cosmos Internet of blockchains. Use the app to sign and send transactions containing messages of any type such as sending or delegating ATOM tokens. The Cosmos Ledger app is maintained by the Cosmos dev team.
NOTE: The Cosmos Ledger app currently supports only the Nano S.
Make sure you have completed the following steps
(tutorial to be hosted by Cosmos and linked to from the Ledger Live store.
Using a hardware wallet to store your keys greatly improves the security of your crypto assets. The following is a short tutorial on using the Cosmos Ledger app to sign transactions with either the Gaia CLI or the Lunie.io web wallet.
At the core of a Ledger device, there is a mnemonic that is used to generate private keys. When you initialize you Ledger, a mnemonic is generated. This mnemonic is compatible with Cosmos accounts.
The tool used to generate addresses and transactions on the Cosmos Hub network is called gaiacli, which supports derivation of account keys from a Ledger seed. Note that the Ledger device acts as an enclave of the seed and private keys, and the process of signing transaction takes place within it. No private information ever leaves the Ledger device.
**Do not lose or share your 24 words with anyone. To prevent theft or loss of funds, it is best to keep multiple copies of your
{ | |
"start": { | |
"reserved": false, | |
"week": 0, | |
"start": 0 | |
}, | |
"info": { | |
"name": "trees", | |
"nameHash": "92ec68524dbcc44bc3ff4847ed45e3a86789009d862499ce558c793498413cec", | |
"state": "CLOSED", |
I hereby claim:
To claim this, I am signing this object:
0x00C7510E292F0165aC472f11d921E36fdBd139B6 |
# config/unicorn.rb | |
# See comment by @paulelliott | |
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3) | |
timeout 29 | |
preload_app true | |
# Shouldn't need to do anything for redis, since it's already connecting-on-request rather than on boot. | |
before_fork do |server, worker| |