Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophersanborn/ff27b3cf66f69ea3857af9b567a35fd9 to your computer and use it in GitHub Desktop.
Save christophersanborn/ff27b3cf66f69ea3857af9b567a35fd9 to your computer and use it in GitHub Desktop.
Scanning Tx Metadata for Owned Tx Outputs using StealthAddress class, Raspberry Pi 3 B+, 2018-11-17, Algorithm 1, Run 1
===========================================================
** Benchmark: Scanning Tx Metadata for Owned Tx Outputs: **
===========================================================
*
* Generating 248 red-herring keys to be our 'non-matches':
* ...Allocated 248 keys in 399 milliseconds.
*
* Generating Bob StealthAddress:
* ...Bob: BTS6B1ALhfjYwYW45XeVBfTNL1uFKRwXc21bHenH7rxvAGduVtCbHeJefk91cc3K1xJwLEtVkwxCdfEdCXK4C6xxa2Ls1JxvMS
*
* Generating an OTK and TxAuthKey for an output to Bob, and adding to key vector:
* ...OTK: OTK5CLmFEMgdZn3xSSf2NZH3hyxdZDed2Mf64DAmnQbRraPfrxrHj
* ...TAK: BTS7myfCqXn7z3gzy78C2Ph2aA71CJedDVpDsTpVERJrjGUSL6Hn7
*
* 250 Keys may be paired in 62500 (OTK, TAK) testable combinations.
* (Of which only one pairing should be 'recognized' as beloning to Bob.)
*
*
* *************************
* STARTING 10 BATCHES: (Single-threaded; Linux; arm)
*
* ** STARTING: Batch 1: **
*
* Match on (key[248], key[249]).
* Batch 1 Summary: Time 378351 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 2: **
*
* Match on (key[248], key[249]).
* Batch 2 Summary: Time 377349 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 3: **
*
* Match on (key[248], key[249]).
* Batch 3 Summary: Time 377224 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 4: **
*
* Match on (key[248], key[249]).
* Batch 4 Summary: Time 377848 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 5: **
*
* Match on (key[248], key[249]).
* Batch 5 Summary: Time 377680 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 6: **
*
* Match on (key[248], key[249]).
* Batch 6 Summary: Time 378226 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 7: **
*
* Match on (key[248], key[249]).
* Batch 7 Summary: Time 376883 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 8: **
*
* Match on (key[248], key[249]).
* Batch 8 Summary: Time 377626 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 9: **
*
* Match on (key[248], key[249]).
* Batch 9 Summary: Time 377826 ms; Tested 62500 key pairings; Matched on 1 combo.
*
* ** STARTING: Batch 10: **
*
* Match on (key[248], key[249]).
* Batch 10 Summary: Time 377922 ms; Tested 62500 key pairings; Matched on 1 combo.
*
*
* *************************
* BENCH SUMMARY: Total Time: 3776.935 sec, over 10 batches of 62500 simulated TXOs.
*
* Avg Batch Time: 377.6935 sec.
* Fastest: 376.883 sec.
* Slowest: 378.351 sec.
*
* Scanning Time per Network-Activity-Day (BTC): 7309.73 Sec, at Bitcoin levels of 14 TXO/Sec.
* Scanning Time per Network-Activity-Day (XMR): 131.74 Sec, at Monero levels of 21,800 TXO/Day.
*
* CONCLUDES BENCH: ScanningForTransactions.
* ////////
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment