Randomly generate a C (or javascript) program
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile
NEWS
README
TODO

README

-*- mode: Text -*-

                 randprog --- a random generator of C programs

                           Eric Eide and John Regehr
                          {eeide,regehr}@cs.utah.edu

                    University of Utah School of Computing
                            http://www.cs.utah.edu/


Please send bug reports and fixes to Eric Eide and John Regehr.

This program is based on an earlier random program generator written by Bryan
Turner <bryan.turner@pobox.com>.

The default seed is hardcoded. Provide a new seed as the only argument on the
command line. The seed is expected to be a hexadecimal string. A suitable string
can be retrieved using:

WALLET_ADDRESS="a valid Monero wallet address"
curl -X POST http://node.moneroworld.com:18089/json_rpc -d '{"method": "getblocktemplate", "params": {"reserve_size": 8, "wallet_address": "'$WALLET_ADDRESS'"}}'

Use the blockhashing_blob as the hexadecimal string for the seed.