Skip to content

Instantly share code, notes, and snippets.

Originally, shortly before the Shelley launch, in reviewing the incentives spec
engineers in formal methods and architecture noticed that there was a 'lambda'
parameter (between 0 and 1) that was basically the fraction by which an
adversary could undercut everyone else on costs. If this param was 0 then the
whole thing collapsed to 0, i.e. the sybil attack became cheap, but there was no
mechanism in the design to make sure this parameter was bigger than 0. So we
added one: the min fee, to stop the adversary from undercutting everyone and
making themselves look super-competitive.
If someone creates many pools, they will not be attractive to first mover
let
pkgs = import <nixpkgs> {};
nixopsSrc = pkgs.fetchFromGitHub {
owner = "input-output-hk";
repo = "nixops";
rev = "28dd42a2dc9f6bada1ea587de80cde8dae0ddbf0";
sha256 = "0a74c8f0hpb60s91f3igx63zx8amblp3iqr6ic3fdr28nvmvbhgr";
};
nixopsPacketSrc = pkgs.fetchFromGitHub {
owner = "input-output-hk";
[
{
"metrics": {
"controlled_stake": {
"quantity": 0,
"unit": "lovelace"
},
"produced_blocks": {
"quantity": 0,
"unit": "block"
Jormungandr Overall Block Aggregate:
+------------------------------------------------------------------+--------------+---------------------+
| Pool (Node ID) | Blocks (#) | Block Percent (%) |
|------------------------------------------------------------------+--------------+---------------------|
| 007072624fda493ac88d6ff59acd6ad0f4143119420a87c08f55b48d91c1dfda | 19 | 0.647801 |
| 056d0e5f21296fc0aa34cde32f6823663eac0aebfae864e9cbf3027f1a8dc401 | 4 | 0.136379 |
| 0f5a223dbf5424880a2b2efb525e6be72314b421beba019527de1c79e52b2616 | 134 | 4.5687 |
| 19580da2d4847523a1c981ec5fd3918237784149737de3dcabd08fe1ace51259 | 380 | 12.956 |
Jormungandr Overall Block Aggregate:
+------------------------------------------------------------------+--------------+---------------------+
| Pool (Node ID) | Blocks (#) | Block Percent (%) |
|------------------------------------------------------------------+--------------+---------------------|
| 000000ae158642a38b96d6b06f30eada5a470cccdd96d0ad6068749c6efce42a | 142 | 1.3769 |
| 00795ccf34bc528f9985848b2bf402051b5613fce45f2116f2ff63d0210d3e40 | 5 | 0.0484825 |
| 183c2bc803a6d1381624353b1e97eb81c42182f286f81c5f12325d6f2d86e760 | 1291 | 12.5182 |
| 19dda5492302d4344493bdd4fa15a3ee0fbce847b54ceff46687a5499bf090f3 | 3 | 0.0290895 |
diff --git i/default.nix w/default.nix
index 47a81e6..a0b8b95 100644
--- i/default.nix
+++ w/default.nix
@@ -15,6 +15,12 @@ with pkgs.lib;
with pkgs.haskell.lib;
let
+ haskellOverlay = hself: hsuper {
+ amazonka-s3 = pkgs.haskell.lib.appendPatch hsuper.amazonka-s3 ./iohk/amazonka-content-length.patch;
diff --git c/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix i/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
index 6f4e7e5b677..f74cb3044b6 100644
--- c/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
+++ i/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
@@ -3,6 +3,8 @@ freetype, fontconfig, dbus, libX11, xorg, libXi, libXcursor, libXdamage,
libXrandr, libXcomposite, libXext, libXfixes, libXrender, libXtst,
libXScrnSaver, nss, nspr, alsaLib, cups, expat, udev }:
let
+ pname = "mattermost-desktop";
+ version = "4.2.3";
diff --git c/nix/.stack.nix/canonical-json.nix w/nix/.stack.nix/canonical-json.nix
index fe09474ce6..4071f37be3 100644
--- c/nix/.stack.nix/canonical-json.nix
+++ w/nix/.stack.nix/canonical-json.nix
@@ -11,13 +11,13 @@
specVersion = "1.10";
identifier = {
name = "canonical-json";
- version = "0.5.0.1";
+ version = "0.6.0.0";
$ nix-shell -A release
Checking that snapcraft package passes tests
/nix/store/3ffwl6a89qdvwjrdsisvvcdyvlman0q8-squashfs.img: pass
Creating and pushing snapcraft package...
Preparing to push '3ffwl6a89qdvwjrdsisvvcdyvlman0q8-squashfs.img'.
After pushing, an attempt will be made to release to 'stable'
Generating delta for '3ffwl6a89qdvwjrdsisvvcdyvlman0q8-squashfs.img'.
Error generating delta: Could not generate xdelta3 delta.
stdout log: /tmp/3ffwl6a89qdvwjrdsisvvcdyvlman0q8-squashfs.img.xdelta3.out
stdout:
squashfs-root
squashfs-root/nix
squashfs-root/nix/store
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/etc
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/etc/ssl
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/etc/ssl/openssl.cnf
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/lib
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/lib/libssl.so
squashfs-root/nix/store/c8k8dl7k6hahagzzkyw501dp1548sp99-openssl-1.0.2r/lib/engines