I hereby claim:
- I am aalness on github.
- I am alness (https://keybase.io/alness) on keybase.
- I have a public key whose fingerprint is 405E C52E 530D BC95 C1EF 797E 929D 2250 D95A 27AC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| In chronological order: | |
| t1 | |
| - spends t0 | |
| - pays a1 (to attacker) | |
| t2 | |
| - spends t0 | |
| - spends t0b | |
| - pays a1 (to attacker) |
| #include <string.h> | |
| #include <sys/time.h> | |
| #include <iostream> | |
| #include <openssl/sha.h> | |
| #include <openssl/rand.h> | |
| #include "secp256k1/src/hash_impl.h" | |
| #include "cryptopp/sha.h" | |
| static const size_t NUM_RUNS = 300000UL; |
| diff --git a/lib/knox/api.rb b/lib/knox/api.rb | |
| index afedb1d..b56f570 100644 | |
| --- a/lib/knox/api.rb | |
| +++ b/lib/knox/api.rb | |
| @@ -5,17 +5,25 @@ module Coinbase::Knox | |
| class Base < Jersey::API::Base | |
| InvalidFormatError = Class.new(StandardError) | |
| SignatureError = Class.new(StandardError) | |
| + | |
| + def initialize(app) |
| diff --git a/lib/toshi/processor.rb b/lib/toshi/processor.rb | |
| index 87fa835..8b775aa 100644 | |
| --- a/lib/toshi/processor.rb | |
| +++ b/lib/toshi/processor.rb | |
| @@ -87,6 +87,7 @@ module Toshi | |
| @output_cache.flush | |
| missing_inputs_exception = nil | |
| + start_time = Time.now | |
| @storage.transaction do |
| 1 input + 2 outputs (all hash160) | |
| ------------------------------------ | |
| 2014-10-15T19:31:10.063Z 2 Toshi::Processor DEBUG: tx: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c start processing | |
| 2014-10-15T19:31:10.066Z 2 Toshi::Processor DEBUG: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c context-free check time: 0.002656208 | |
| 2014-10-15T19:31:10.069Z 2 Toshi::Processor DEBUG: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c in-mempool check time: 0.001847342 | |
| 2014-10-15T19:31:10.071Z 2 Toshi::Processor DEBUG: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c spent-in-mempool check time: 0.002072159 | |
| 2014-10-15T19:31:10.074Z 2 Toshi::Processor DEBUG: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c exists-including-tip check time: 0.003316005 | |
| 2014-10-15T19:31:10.076Z 2 Toshi::Processor DEBUG: c7def120bb2ccd563182ae96c18260996c21e5ba1443ee2809b26db6ea44753c missing inputs check time: 0.001863445 | |
| 2014-10-15T19:31:10.078Z 2 Toshi::Proce |