[BTC-dev] V examples.

Stanislav Datskovskiy stas at loper-os.org
Mon Aug 31 14:44:22 UTC 2015


Name: vexercises.txt
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150831/vexercises_7d27e9f67b914afcb5d01b096ccd6b7166ba74df.txt>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

$ ./v.py -h       
usage: v.py [-h] [-v] [-wild] [-fingers] [--wot WOT] [--seals SEALS]
            vpatches {w,r,a,d,f,p,o} ...

V (ver. 100K)

positional arguments:
  vpatches         Vpatch directory to operate on. [REQUIRED]
  {w,r,a,d,f,p,o}  Command [REQUIRED]
    w              Display WoT.
    r              Display Roots.
    a              Display Antecedents [PATCH]
    d              Display Descendants [PATCH]
    f              Compute Flow.
    p              Press [HEADPATCH AND DESTINATION]
    o              Find Origin [SHA512]

optional arguments:
  -h, --help       show this help message and exit
  -v               Verbose.
  -wild            Permit wild (UNSEALED!) vpatches.
  -fingers         Prefix keyid to all WoT handles.
  --wot WOT        Use WoT in given directory. (Default: ~/.wot)
  --seals SEALS    Use Seals in given directory. (Default: ~/.seals)

(C) 2015 NoSuchlAbs. You do not have, nor can you ever acquire the right to
use, copy or distribute this software ; Should you use this software for any
purpose, or copy and distribute it to anyone or in any manner, you are
breaking the laws of whatever soi-disant jurisdiction, and you promise to
continue doing so for the indefinite future. In any case, please always : read
and understand any software ; verify any PGP signatures that you use - for any
purpose.

$ ./v.py patches w
mod6:027A8D7C0FB8A16643720F40721705A8B71EADAF (mod6 (mod6) <modsix at gmail.com>)
trinque:FC66C0C5D98C42A1D4A98B6B42F9985AFAB953C4 (Michael Trinque <mike at trinque.org>)
asciilifeform:17215D118B7239507FAFED98B98228A001ABFFC7 (Stanislav Datskovskiy <stas at loper-os.org>)
punkman:F28E0095843B91CB22E7D65533588BE08B232B13 (punkman)
mircea_popescu:6160E1CAC8A3C52966FD76998A736F0E2FB7B452 (Mircea Popescu (Acest articol are apriori avantajul aliteralitatii alaturi.) 
<office at polimedia.us>)

$ ./v.py patches f
patches/genesis.vpatch (asciilifeform, mircea_popescu, mod6, trinque)
patches/bitcoin-asciilifeform.1.vpatch (asciilifeform)
patches/rm_rf_upnp.vpatch (asciilifeform)
patches/bitcoin-asciilifeform.2-https_snipsnip.vpatch (asciilifeform)
patches/bitcoin-asciilifeform.3-turdmeister-alert-snip.vpatch (asciilifeform)
patches/bitcoin-asciilifeform.4-goodbye-win32.vpatch (asciilifeform)
patches/asciilifeform_dnsseed_snipsnip.vpatch (asciilifeform)
patches/asciilifeform_zap_hardcoded_seeds.vpatch (asciilifeform)
patches/asciilifeform_zap_showmyip_crud.vpatch (asciilifeform)
patches/bitcoin-v0_5_3_1-static_makefile_v002.8.vpatch (asciilifeform)
patches/asciilifeform_dns_thermonyukyoolar_kleansing.vpatch (asciilifeform)
patches/bitcoin-v0_5_3_1-rev_bump.7.vpatch (asciilifeform)
patches/asciilifeform-kills-integer-retardation.vpatch (asciilifeform)
patches/asciilifeform_and_now_we_have_block_dumper_corrected.vpatch (asciilifeform)
patches/asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ip.vpatch (asciilifeform)
patches/mod6_fix_dumpblock_params.vpatch (asciilifeform)
patches/bitcoin-v0_5_3-db_config.6.vpatch (asciilifeform)
patches/asciilifeform_orphanage_thermonuke.vpatch (asciilifeform)
patches/asciilifeform_and_now_we_have_eatblock.vpatch (asciilifeform)
patches/asciilifeform_tx-orphanage_amputation.vpatch (asciilifeform)
patches/asciilifeform_lets_lose_testnet.vpatch (asciilifeform)
patches/asciilifeform_maxint_locks_corrected.vpatch (asciilifeform)
patches/asciilifeform_add_verifyall_option.vpatch (asciilifeform)

$ ./v.py patches r
Root: patches/genesis.vpatch (asciilifeform, mircea_popescu, mod6, trinque)

$ ./v.py patches d patches/genesis.vpatch                    
Descendant: patches/bitcoin-asciilifeform.1.vpatch (asciilifeform) [a/bitcoin/src/bitcoinrpc.cpp; a/bitcoin/src/db.cpp; 
a/bitcoin/src/headers.h; a/bitcoin/src/init.cpp; a/bitcoin/src/qtui.h; a/bitcoin/src/util.h; a/bitcoin/src/wallet.cpp]
Descendant: patches/asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ip.vpatch (asciilifeform) [a/bitcoin/src/irc.h]
Descendant: patches/bitcoin-asciilifeform.4-goodbye-win32.vpatch (asciilifeform) [a/bitcoin/src/crypter.cpp; a/bitcoin/src/net.h; 
a/bitcoin/src/protocol.cpp; a/bitcoin/src/script.h; a/bitcoin/src/serialize.h; a/bitcoin/src/uint256.h; a/bitcoin/src/util.cpp]
Descendant: patches/rm_rf_upnp.vpatch (asciilifeform) [a/bitcoin/src/main.cpp; a/bitcoin/src/main.h; a/bitcoin/src/makefile.linux-mingw; 
a/bitcoin/src/makefile.unix; a/bitcoin/src/net.cpp]
Descendant: patches/asciilifeform_lets_lose_testnet.vpatch (asciilifeform) [a/bitcoin/src/base58.h; a/bitcoin/src/checkpoints.cpp]
Descendant: patches/asciilifeform_dns_thermonyukyoolar_kleansing.vpatch (asciilifeform) [a/bitcoin/src/irc.cpp; a/bitcoin/src/protocol.h]

$ ./v.py patches a patches/bitcoin-asciilifeform.4-goodbye-win32.vpatch
patches/rm_rf_upnp.vpatch (asciilifeform) [a/bitcoin/src/db.cpp; a/bitcoin/src/net.cpp]
patches/bitcoin-asciilifeform.1.vpatch (asciilifeform) [a/bitcoin/src/headers.h; a/bitcoin/src/util.h]
patches/bitcoin-asciilifeform.3-turdmeister-alert-snip.vpatch (asciilifeform) [a/bitcoin/src/main.h]
patches/genesis.vpatch (asciilifeform, mircea_popescu, mod6, trinque) [a/bitcoin/src/crypter.cpp; a/bitcoin/src/net.h; 
a/bitcoin/src/protocol.cpp; a/bitcoin/src/script.h; a/bitcoin/src/serialize.h; a/bitcoin/src/uint256.h; a/bitcoin/src/util.cpp]
patches/bitcoin-asciilifeform.2-https_snipsnip.vpatch (asciilifeform) [a/bitcoin/src/bitcoinrpc.cpp; a/bitcoin/src/init.cpp; 
a/bitcoin/src/makefile.linux-mingw]

$ ./v.py patches d patches/bitcoin-asciilifeform.4-goodbye-win32.vpatch
Descendant: patches/bitcoin-v0_5_3-db_config.6.vpatch (asciilifeform) [a/bitcoin/src/db.cpp]
Descendant: patches/asciilifeform_dnsseed_snipsnip.vpatch (asciilifeform) [a/bitcoin/src/init.cpp; a/bitcoin/src/net.cpp]
Descendant: patches/asciilifeform_and_now_we_have_eatblock.vpatch (asciilifeform) [a/bitcoin/src/util.cpp]
Descendant: patches/asciilifeform-kills-integer-retardation.vpatch (asciilifeform) [a/bitcoin/src/bitcoinrpc.cpp; a/bitcoin/src/util.h]
Descendant: patches/asciilifeform_tx-orphanage_amputation.vpatch (asciilifeform) [a/bitcoin/src/main.h]
Descendant: patches/bitcoin-v0_5_3_1-rev_bump.7.vpatch (asciilifeform) [a/bitcoin/src/serialize.h]
Descendant: patches/asciilifeform_dns_thermonyukyoolar_kleansing.vpatch (asciilifeform) [a/bitcoin/src/net.h; a/bitcoin/src/protocol.cpp]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJV5Gf6AAoJELmCKKABq//HDwMH/3vx9RaNAvsvyCLvRsw8HUx9
H51qx7sH3QHZu8kxJYYKOIKOUNlhlokNGRMvN6yV9B5o3kF+7V+J3BL5QP8yV3DL
wS5MQXrx43x2ujkWWunycCB8vJGJwlSmY4XJ9NywfjS1NyT1MGb7U+UDIBIR0sI0
k9JDIq5klQxxun+AMEcH0xYdc11ce/arce6DC0WHI0mZkoyWSk31D0BdDWV14s2j
ZNN6zBPU7ZgXXErehX1Rs2XclsAD96eA/0I6wY2GJSGjh/14YUMaDnd3hO7sESFo
OyQa2IgmxmgBusqCydfl4ah30aboMKvj7Qo6n5OR3cC0shv5wdvjlj3kLWM9ZbE=
=WoFN
-----END PGP SIGNATURE-----


More information about the BTC-dev mailing list