Skip to content

Instantly share code, notes, and snippets.

@xdustinface
xdustinface / bench_old_rc3.md
Created February 21, 2021 18:49
benchmarks old library, v0.17.0.0 RC3
# Benchmark evals iterations total min max median
BLSDKG_BuildQuorumVerificationVectors_parallel_10 5 3000 4.00414 0.000249776 0.000288932 0.000262321
BLSDKG_BuildQuorumVerificationVectors_parallel_100 5 50 4.04708 0.0155653 0.0168256 0.0162083
BLSDKG_BuildQuorumVerificationVectors_parallel_400 5 3 4.36853 0.272888 0.31808 0.29023
BLSDKG_BuildQuorumVerificationVectors_simple_10 5 2500 6.57921 0.000508432 0.000540231 0.000529435
BLSDKG_BuildQuorumVerificationVectors_simple_100 5 25 5.22925 0.0389337 0.0435014 0.0428428
BLSDKG_BuildQuorumVerificationVectors_simple_400 5 1 3.21932 0.622922 0.665426 0.643871
BLSDKG_VerifyContributionShares_aggregated_10
@xdustinface
xdustinface / bench_new_before_improvements.md
Last active February 21, 2021 18:22
benchmarks new library, before improvements
Benchmark evals iterations total min max median
BLSDKG_BuildQuorumVerificationVectors_parallel_10 5 3000 57.3975 0.00366559 0.00409715 0.00370523
BLSDKG_BuildQuorumVerificationVectors_parallel_100 5 50 73.339 0.283672 0.323543 0.285842
BLSDKG_BuildQuorumVerificationVectors_parallel_400 5 3 67.8496 4.48025 4.59312 4.49043
BLSDKG_BuildQuorumVerificationVectors_simple_10 5 2500 116.995 0.00919667 0.00972602 0.009302
BLSDKG_BuildQuorumVerificationVectors_simple_100 5 25 106.467 0.847931 0.85324 0.852414
BLSDKG_BuildQuorumVerificationVectors_simple_400 5 1 68.8756 13.5534 14.3307 13.6102
BLSDKG_VerifyContributionShares_aggregated_10
@xdustinface
xdustinface / bench_new_after_improvements.md
Last active February 24, 2021 23:37
benchmarks new library, after improvements
Benchmark evals iterations total min max median
BLSDKG_BuildQuorumVerificationVectors_parallel_10 5 3000 3.79203 0.000243809 0.000267157 0.00025234
BLSDKG_BuildQuorumVerificationVectors_parallel_100 5 50 4.0356 0.0158391 0.0164071 0.0162111
BLSDKG_BuildQuorumVerificationVectors_parallel_400 5 3 4.29769 0.27963 0.298707 0.286458
BLSDKG_BuildQuorumVerificationVectors_simple_10 5 2500 5.8285 0.00043347 0.000503039 0.000460711
BLSDKG_BuildQuorumVerificationVectors_simple_100 5 25 4.92002 0.039027 0.0397922 0.0393376
BLSDKG_BuildQuorumVerificationVectors_simple_400 5 1 3.32769 0.654899 0.676172 0.663299
BLSDKG_VerifyContributionShares_aggrega
@xdustinface
xdustinface / llmq_example_data.txt
Last active February 16, 2021 21:53
Example data for a LLMQ threshold signature
// LLMQ data
llmqType=100
members=10
requiredSignatures=6
quorumHash=75899cad8bd52eb1105efa2204ed139bbdb4bb9ddcde4c090b579b3ab4b98fb0
quorumPublicKey=97a12b918eac73718d55b7fca60435ec0b442d7e24b45cbd80f5cf2ea2e14c4164333fffdb00d27e309abbafacaa9c34
// Signature data
signId=0000000000000000000000000000000000000000000000000000000000000001
msgHash=0000000000000000000000000000000000000000000000000000000000000002
@xdustinface
xdustinface / keybase.md
Created April 21, 2020 09:54
keybase.md

Keybase proof

I hereby claim:

  • I am xdustinface on github.
  • I am dustinface (https://keybase.io/dustinface) on keybase.
  • I have a public key ASB-6jEpFnNsex6QT4lLzMlO95b_FQe4DzmyENV0BpdEpAo

To claim this, I am signing this object:

@xdustinface
xdustinface / install_voting.ps1
Last active May 4, 2018 16:30
SmartCashVoting install windows
#####
# SmartCashVoting installer
#
# Copyright 2018 dustinface
#
# 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
@xdustinface
xdustinface / install_voting.sh
Last active May 4, 2018 16:30
SmartCashVoting install unix
#####
# SmartCashVoting installer
#
# Copyright 2018 dustinface
#
# 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