Home / Input Output / cardano-sl
11 commits this week Oct 14, 2019 - Oct 21, 2019

Merge #4243

4243: DNS subscription proper fallback/valency r=disassembler a=avieth

It’s possible for the same address to be resolved from different DNS names. The subscription system now recognizes this and avoids attempting to subscribe to the same IP address more than once concurrently.

This means you can now give the same domain name multiple times in the subscription specification, and the system will attempt to subscribe to different addresses from each of them concurrently. That’s useful when we expect the names to give multiple addresses.

Description

Linked issue

Co-authored-by: Alexander Vieth [email protected]

configuration: cut out problematic sections that cause ‘cardano-keygen’ fail

..like this:

[email protected]:~/external-genesis/cardano-sl$ /nix/store/2ppq9cmlvqir280g0wjhf2mqqwrcxjjv-prepare-genesis ../genesis [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.26 UTC] using configurations: ConfigurationOptions {cfoFilePath = “configuration-launch.yaml”, cfoKey = “mainnet_ci”, cfoSystemStart = Just 1571241899000000, cfoSeed = Just 43291306417859673110003847011675136870813780533388016822339837462648799951048} [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] System start time is 1571241899000000 [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Current time is 1571241181642130 [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Processing command [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Writing JSON with hash AbstractHash 811844fc6d6a66638d72a1cfacb80031eee768331c9584d012b752e2b34a133a to “genesis.json” [cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:02.00 UTC] using configurations: ConfigurationOptions {cfoFilePath = “configuration.yaml”, cfoKey = “mainnet_ci”, cfoSystemStart = Just 0, cfoSeed = Just 43291306417859673110003847011675136870813780533388016822339837462648799951048} cardano-keygen: ConfigurationParseFailure “configuration.yaml” (AesonException “Error in $[‘mainnet_staging_short_epoch_wallet_win64’].wallet.throttle: expected record (:*:), encountered String”)

configuration: cut out problematic sections that cause ‘cardano-keygen’ fail

..like this:

[email protected]:~/external-genesis/cardano-sl$ /nix/store/2ppq9cmlvqir280g0wjhf2mqqwrcxjjv-prepare-genesis ../genesis
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.26 UTC] using configurations: ConfigurationOptions {cfoFilePath = "configuration-launch.yaml", cfoKey = "mainnet_ci", cfoSystemStart = Just 1571241899000000, cfoSeed = Just 43291306417859673110003847011675136870813780533388016822339837462648799951048}
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] System start time is 1571241899000000
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Current time is 1571241181642130
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Processing command
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:01.64 UTC] Writing JSON with hash AbstractHash 811844fc6d6a66638d72a1cfacb80031eee768331c9584d012b752e2b34a133a to "genesis.json"
[cardano-sl.keygen:Info:ThreadId 4] [2019-10-16 15:53:02.00 UTC] using configurations: ConfigurationOptions {cfoFilePath = "configuration.yaml", cfoKey = "mainnet_ci", cfoSystemStart = Just 0, cfoSeed = Just 43291306417859673110003847011675136870813780533388016822339837462648799951048}
cardano-keygen: ConfigurationParseFailure "configuration.yaml" (AesonException "Error in $['mainnet_staging_short_epoch_wallet_win64'].wallet.throttle: expected record (:*:), encountered String")