A quick recipe for pressing experimental TRB trees.

Waking up at a leisurely 9:30am on a Tuesday after spending the wee hours hacking away on Stan’s latest experimentali TRB patch, I was brushing my teeth and mentally mapping out my day when I thought out loud, “I should totally make a quick recipe to pressing experimental TRB trees given that i) the ingredients exist thanks to MP’s self-sacrificial flailing, ii) it’s however scattered in so many lines of difficult-to-coherently-reference logs. What service I’ll serve!” As I logged onto my machine and skimmed the morning paper, however, I discovered that sleepless MP made a parallel calculus and leveraged his 150wpm wizardry to knock out a very similar, if more specific, guide while I was still counting sheep in bed. Go figure. The early blogger gets the blerg!

In any event, a more general recipe is still in order, if for myself as much as any of you lot. So once you’re logged into your box,ii proceed as follows when testing out experimental TRB patches and pressing their treesiii :

1. Make a new trb directory : `mkdir trb`iv
2. Change to the new trb directory : `cd trb`
3. `curl -s http://thebitcoin.foundation/v/V-20160220.tar.gz -o V-20160220.tar.gz`
4. `curl -s http://thebitcoin.foundation/v/V-20160220.tar.gz.mod6.sig -o V-20160220.tar.gz.mod6.sig`
5. Make a new WoT directory : `mkdir .wot`
6. Change to WoT directory : `cd .wot`
7. `curl http://wot.deedbot.org/4F7907942CA8B89B01E25A762AFA1A9FD2D031DA.asc -o ben_vulpes.asc`
8. `curl http://wot.deedbot.org/FC66C0C5D98C42A1D4A98B6B42F9985AFAB953C4.asc -o trinque.asc`
9. `curl http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.asc -o asciilifeform.asc`
10. `curl http://wot.deedbot.org/6160E1CAC8A3C52966FD76998A736F0E2FB7B452.asc -o mircea_popescu.asc`
11. `curl http://wot.deedbot.org/027A8D7C0FB8A16643720F40721705A8B71EADAF.asc -o mod6.asc`
12. Change directory to trb : `cd ..`
13. `gpg –import mod6.asc`
14. `gpg –verify V-20160220.tar.gz.mod6.sig V-20160220.tar.gz`
15. `tar -xf V-20160220.tar.gz`
16. `./v.pl i http://thebitcoin.foundation`
17. `curl [Experimental Patch] -o ~/trb/patches/experimental_patch.vpatch`
18. `curl [Experimental Patch Detached Signature] -o ~/trb/.seals/experimental_patch.vpatch.author.sig`
19. `./v.pl p v trb54 experimental_patch.vpatch`v
20. `cd trb54/bitcoin`
21. `make ONLINE=1`
22. Upon successful build, `bitcoind’ will be placed in ‘trb54/bitcoin/bin’
23. `cd trb54/bitcoin/bin`
24. `LC_ALL=”C” nohup ./bitcoind -myip=<yourip> -addnode=trusted_node_1 -addnode=trusted_node_2 -lows -verifyall 2>&1 &`vi

That’d be all!

___ ___ ___

  1. As denoted by the entirely self-explanatory ascii-art skull-n-crossbones. []
  2. Eg. ssh root@9.9.9.9 []
  3. Much gratitude also to mod6 for laying the foundation at the Foundation. N.B. Enter into your terminal only what is between the ` marks, not the ` marks themselves. []
  4. If you already have a TRB instance installed, skip ahead to Step 17. []
  5. If you already have a TRB instance installed, your Step 19 is as follows :
    19.1. `./v.pl p v trb-exp experimental_patch.vpatch`
    19.2 `rm -rf ~/trb/trb54/bitcoin`
    19.3 `mv ~/trb/trb-exp/bitcoin ~/trb/trb54/bitcoin` []
  6. Add other patch-specific flags after -verifyall and before 2>&1 &. []

One thought on “A quick recipe for pressing experimental TRB trees.

  1. […] will be a recurring theme. So when you have a fresh box that you’re looking to TRBify, you’ll need at least `patch dos2unix make gcc g++ doxygen curl wget perl unzip rsync gpg […]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>