Академический Документы
Профессиональный Документы
Культура Документы
org/man/admin#installation
Select Language ▼
Navigation
LBC Manual
RTFM
Home (/)
About/FAQ (/about) Part I: Admin (this page)
Download (/download)
Part II: User (/man/user)
Statistics (/stats) Part III: Technology (/man/tech)
Trophies (/trophies) Part IV: Theory (/man/theory)
Manual
LBC Manual
Before You Begin
RTFM Make sure you've read what this is all about (/about).
There are some requirements for your computer system:
Original text At the moment, you need to run a Linux OS.
There will be an initial download data volume of about 200MB.
The collider needs about 550MB of disk space.
The collider needs at least 770MB free RAM.
For best CPU performance you need fast new CPU cores with AVX2
capability and high clock. You can get a GPU client which boosts
performance even more. See a comparison (/man/admin#generator-
speed) of what performance to expect.
Download
Go to the download section (/download). If you are already running Linux, grab the
LBC script (a mere 65kB) and continue with the On Linux (/man/admin#on-linux)
section. If you are running WIndows, you will need the LBC Appliance (around
1GB) - see next section.
Installation
LBC Appliance
While the appliance offers better encapsulation than a native Linux installation, you
have to download about 1GB of data in 2-3 packages. On the other hand this
comes already with a fairly new .blf file and all neccesary programs (gcc, xdelta3)
preinstalled. The performance penalty of running ina a VM is negligible (~3%).
Here's how:
1 of 6 6/26/2020, 9:09 PM
LBC::Server https://lbc.cryptoguru.org/man/admin#installation
On Linux
1. Make sure the following packages are installed:
perl (5.14 or newer) - probably preinstalled
bzip2 - most probably preinstalled
xdelta3 (http://xdelta.org/) - look for a "xdelta3"-named
package.
libgmp-dev(el), The GNU Multiple Precision Arithmetic Library
(https://gmplib.org/) including header files (therefore the -dev or
-devel)
libssl-dev(el), OpenSSL Library (https://www.openssl.org/)
including header files (therefore the -dev or -devel)
A sane compilation toolchain: gcc, make
2. You want to perform the installation as root or with "sudo". After install,
"chown" all files to the user you want LBC to run as. Sissy.
3. Download LBC (https://lbc.cryptoguru.org/static/client/LBC) into some
suitable directory, go to that directory. e.g. via wget
https://lbc.cryptoguru.org/static/client/LBC
4. Continue in section All OS.
All OS
1. In the LBC directory, start the client via
./LBC -h
./LBC -x
This will look for any existing updates and install them. It will also
benchmark the generator and check connection to the pool server. Warning!
2 of 6 6/26/2020, 9:09 PM
LBC::Server https://lbc.cryptoguru.org/man/admin#installation
Navigation Operation
Home (/)
System Usage
About/FAQ (/about)
Download (/download) LBC is a CPU intensive application. If you tell it to use 4 cores, it will use these
Statistics (/stats) cores 100% non-stop. If you tell it to use 128 cores, it will also hog these 100%.
On the other hand, while using these 128 cores, it will not grab more than 2.5GB
Trophies (/trophies)
memory, it will have virtually no disk IO and cause very little network traffic
Manual
(couple bytes every couple minutes).
LBC Manual
This allows it to operate LBC on machines that have e.g. high IO load, but spare
RTFM
CPU cycles without performance impact. Say your CPU has 4 cores and
Original text hyperthreading enabled (= 8 logical cores in total). If you let it run with the -c 4
argument, it will use only 4 cores, leaving the hyperthreaded cores for the system
or your interactive work.
When you observe the running processes by issuing e.g. a "top" command, you will
see something similar to this:
These are basically the generators as started by the LBC client (if you did e.g. -c 4
you should see 4 of these processes) and each generator uses pretty much like
100% - which means 1 core. the -I parameter is the key offset where the
generator starts to generate and check its block of 224 keys. The -c parameter you
see there is the challenge the LBC client gave the generator. (Note: this has
nothing to do with the -c parameter you started the LBC client with - number of
CPUs to use)
Security
LBC operation is secure and poses no threat to your computer system. Security is
maintained where it matters: The underlying server infrastructure down to
hardware level, no BTC infrastructure requirements, mutual client-server
monitoring and validation. LBC has been used by more than 260 users (and
counting) with no security incident since its inception. See thread @ bitcointalk
(https://bitcointalk.org/index.php?topic=1573035) for current news.
3 of 6 6/26/2020, 9:09 PM
LBC::Server https://lbc.cryptoguru.org/man/admin#installation
They are kept up-to-date and are being monitored for any even remotely potential
Select Language ▼
CVEs.
Navigation
All program and data have sufficient checksums in place to prevent code or data
tampering. The clients and the server perform mutual checks on protocol level to
Home (/)
be sure the other party is legit.
About/FAQ (/about)
Download (/download) Any non-standard behavior is met with rigorous cancellation of communication
Statistics (/stats) (both LBC server and LBC client), misbehaving clients (code tampering, excessive
Trophies (/trophies) false positives, no PoW, excessive promise of work and undelivery) go fairly quick
to a blacklist. Also, the LBC client validates the key generators tightly with a
Manual
challenge-response protocol to defy PoW cheating.
LBC Manual
The programs themself do not require any critical Bitcoin infrastructure on the
RTFM
machine. You do not need any blockchain data, or any wallet on a LBC-client
Original text machine. If security is paramount, you are encouraged to run LBC in a virtual
machine or container to provide more encapsulation. There is some performance
loss, but with a good VM configuration this can be kept at a minimum.
The LBC client is deparsed Perl source. While somewhat scattered, you can
ultimately look at it in your text editor. It also checks its own source code to
prevent code tampering. The LBC server also performs randomly a challenge-
response protocol to the LBC client and will deny communication with a tampered
client. You can try: Even if you add a single whitespace somewhere, the server will
consider the client tampered and block communication. Warning! It is safe to do
this once/twice, but unless you want to end in the pool blacklist, revert
your change.
References
http://cpuboss.com/cpu/AMD-Athlon-64-X2-4400
Generator Speed
The following are various benchmark results for given CPUs and generators. This
should give you a good comparison to evaluate if your system works at reasonable
speed. The keys/s number is a rough estimation of performance per core (*).
Some of these may be outdated and your speed should always be at least as high.
4 of 6 6/26/2020, 9:09 PM
LBC::Server https://lbc.cryptoguru.org/man/admin#installation
(*) Rough estimation means that your numbers using several cores may be above
or below that number. Lower if the CPU is busy otherwise and probably also clocks
down due to thermal constraints, Higher, because in a longer run the startup cost -
present in the 1st benchmark run - are mitigated. I.e. the skylake numbers would
suggest over 3.5Mkeys/s for 4 physical cores. The real yield is about 2.8Mkeys/s
when all 4 physical cores are used, as they clock at max. 3.2GHz or even 2.8Ghz
(contrary to 3.7GHz when one core is used).
As for hyper threading (HT) a.k.a. logical cores of the CPU: These give you only a
marginal performance gain. Normally, HT is used to distribute load more efficiently
on the CPU, but the LBC generators are pretty optimized already so they are using
the physical cores to a greater extent than regular software. It is therefore
advisable to use only the physical cores for the LBC generator.
GPU acceleration usually means your numbers per core will be about 7 times
higher than a CPU-only key generation. This factor also may be higher or lower
depending on other system constraints.
System Speed
5 of 6 6/26/2020, 9:09 PM
LBC::Server https://lbc.cryptoguru.org/man/admin#installation
Navigation
Home (/)
About/FAQ (/about)
Download (/download)
Statistics (/stats)
Trophies (/trophies)
Manual
LBC Manual
RTFM
Original text
6 of 6 6/26/2020, 9:09 PM