0x0b20647ec5372245c9880d960bcbd59ea1bcb06fef90165e74a0fc40f17c1129
I hereby claim:
- I am fleupold on github.
- I am fleupold (https://keybase.io/fleupold) on keybase.
- I have a public key ASAGm_T4emt-IrM8VweM91pcGXjCaEr_-bix5aVyRDNsqgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Clone)] | |
struct BinaryTreeNode<T> { | |
value: T, | |
left: Option<Box<BinaryTreeNode<T>>>, | |
right: Option<Box<BinaryTreeNode<T>>>, | |
visited: bool, | |
} | |
impl<T> BinaryTreeNode<T> { | |
pub fn new( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cargo run --release --bin compute_constrained | |
Finished release [optimized] target(s) in 0.13s | |
Running `target/release/compute_constrained` | |
Will contribute to accumulator for 2^25 powers of tau | |
In total will generate up to 67108863 powers | |
Type some random text and press [ENTER] to provide additional entropy... | |
bqyeufbdwuyischk ne md hc8 eh8 gvqc9e w320 dchdkcsncajdkf,mCXOLQJVDCKDWQ9C FVCE21 | |
Calculating previous contribution hash... | |
`challenge` file contains decompressed points and has a hash: | |
770d8ac1 b170bb2f 1b1cd401 3db7a13d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.2; | |
pragma experimental ABIEncoderV2; | |
contract SnappBase { | |
struct DepositState { | |
uint16 size; //number of deposits that have been made in this batch | |
uint shaHash; //rolling shaHash of all deposits | |
uint creationBlock; //timestamp of when batch was created | |
uint appliedAccountStateIndex; //accountState index of when batch was applied (needed for rollback) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is MIT Licensed. | |
// | |
// Copyright 2017 Christian Reitwiessner | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["0xb8a53459712d69b8316a74b0ad6f0734e14f6ba3755b2ee0f8ffc07f816a9f2", "0x1d4348029faf61cc5c631e49f937823a3ec7f46ae301ba49a8d7f64cf4dde910"],["0x275c94ed587c6b0d491d339174175be8febede25f198edd393b21f838dfac5b2", "0xae46de18a7bd87a52d54f97f0ff4d121c1debf09ef130edaad95ce382aa28a3"],[["0x18d8fa31e1eb4745c8e64af727bf10fd7d11342fbd754bd3770305b6097d9be7", "0xc398cac8cef14865c8b30bcadcfa857cfb937022349e7c50aaf865057f0399f"], ["0xe7ea4afd9d956ec0d1157b08800cdff7a8fabc8c8e2272f6442ff323130ea9", "0x19227bccbcf93bc6b0d0e536ae4966c4fc0fbd0ba1eac49a12614492c5ded4f7"]],["0x269eca29cd6065ccfec1a1c0264ca48abdb0d36d4f3289415ad132b50a8b5a20", "0x1276bd5a92b77f399d59ac4112c279a717130dcd92e91e14b8ff9a8320368b05"],["0x290fb284e17e19c8d27feb0c6c18eb13f53d58236422c38077cf6a279a8346d3", "0x1e67bbeba1afe0670a9e6052158c5787c00874426ebae09f0384c01dcee05a3a"],["0x4ff79f10a3bdf402885bc0e8dc305b8d0ceba710d3fa5ca4c6db8c6469c7fa1", "0x19fe0459c3ffb7df793eee083ee69839ccde3dc0cad801fcf1ea75dace2684d4"],["0x197c1278fc494792cc62bc44d7e336e50853 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Proof: | |
A = Pairing.G1Point(0xb8a53459712d69b8316a74b0ad6f0734e14f6ba3755b2ee0f8ffc07f816a9f2, 0x1d4348029faf61cc5c631e49f937823a3ec7f46ae301ba49a8d7f64cf4dde910); | |
A_p = Pairing.G1Point(0x275c94ed587c6b0d491d339174175be8febede25f198edd393b21f838dfac5b2, 0xae46de18a7bd87a52d54f97f0ff4d121c1debf09ef130edaad95ce382aa28a3); | |
B = Pairing.G2Point([0x18d8fa31e1eb4745c8e64af727bf10fd7d11342fbd754bd3770305b6097d9be7, 0xc398cac8cef14865c8b30bcadcfa857cfb937022349e7c50aaf865057f0399f], [0xe7ea4afd9d956ec0d1157b08800cdff7a8fabc8c8e2272f6442ff323130ea9, 0x19227bccbcf93bc6b0d0e536ae4966c4fc0fbd0ba1eac49a12614492c5ded4f7]); | |
B_p = Pairing.G1Point(0x269eca29cd6065ccfec1a1c0264ca48abdb0d36d4f3289415ad132b50a8b5a20, 0x1276bd5a92b77f399d59ac4112c279a717130dcd92e91e14b8ff9a8320368b05); | |
C = Pairing.G1Point(0x290fb284e17e19c8d27feb0c6c18eb13f53d58236422c38077cf6a279a8346d3, 0x1e67bbeba1afe0670a9e6052158c5787c00874426ebae09f0384c01dcee05a3a); | |
C_p = Pairing.G1Point(0x4ff79f10a3bdf402885bc0e8dc305b8d0ceba710d3fa5ca4c6db8c6469c7fa1, 0x19 |