Author

Topic: Вышел Bitcoin 0.4.0 с поддержкой шифрования (Read 3285 times)

sr. member
Activity: 362
Merit: 250
Что-то не собирается
Code:
mak@mak-desktop:~/bitcoin-0.4.0-linux/src/src$ make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXDEBUG__ -D__WXGTK__ -pthread -DGUI -o obj/net.o net.cpp
/usr/include/miniupnpc/miniupnpc.h: In function ‘void ThreadMapPort2(void*)’:
/usr/include/miniupnpc/miniupnpc.h:45: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int)’
net.cpp:1087: error: at this point in file
/usr/include/miniupnpc/upnpcommands.h:123: error: too many arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’
net.cpp:1100: error: at this point in file

Нашёл ответ на твой вопрос по ссылке: https://bitcointalksearch.org/topic/m.88407
sr. member
Activity: 362
Merit: 250
Как собрать статическую сборку?
sr. member
Activity: 362
Merit: 250
Обнови libminiupnpc, у меня например сейчас версия  libminiupnpc.so.8 и с ней всё компилируется.
AV
hero member
Activity: 910
Merit: 1000
Technical details of wallet encryption
--------------------------------------
Wallet encryption uses AES-256-CBC to encrypt only the private keys
that are held in a wallet.  The keys are encrypted with a master key
which is entirely random.  This master key is then encrypted with
AES-256-CBC with a key derived from the passphrase using SHA512 and
OpenSSL's EVP_BytesToKey and a dynamic number of rounds determined by
the speed of the machine which does the initial encryption (and is
updated based on the speed of a computer which does a subsequent
passphrase change).  Although the underlying code supports multiple
encrypted copies of the same master key (and thus multiple passphrases)
the client does not yet have a method to add additional passphrases.

At runtime, the client loads the wallet as it normally would, however
the keystore stores the keys in encrypted form.  When the passphrase
is required (to top up keypool or send coins) it will either be queried
by a GUI prompt, or must first be entered with the walletpassphrase
RPC command.  This will change the wallet to "unlocked" state where the
unencrypted master key is stored in memory (in the case of GUI, only for
long enough to complete the requested operation, in RPC, for as long as
is specified by the second parameter to walletpassphrase).  The wallet is
then locked (or can be manually locked using the walletlock RPC command)
and the unencrypted master key is removed from memory.
hero member
Activity: 803
Merit: 593
BITS.MEDIA
Кстати, а какое там шифрование используется?
mak
sr. member
Activity: 337
Merit: 252
Forth
Что-то не собирается
Code:
mak@mak-desktop:~/bitcoin-0.4.0-linux/src/src$ make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXDEBUG__ -D__WXGTK__ -pthread -DGUI -o obj/net.o net.cpp
/usr/include/miniupnpc/miniupnpc.h: In function ‘void ThreadMapPort2(void*)’:
/usr/include/miniupnpc/miniupnpc.h:45: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int)’
net.cpp:1087: error: at this point in file
/usr/include/miniupnpc/upnpcommands.h:123: error: too many arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’
net.cpp:1100: error: at this point in file
member
Activity: 82
Merit: 10
Вчера вышла новая версия клиента, в которой наконец-то появилось шифрование кошелька. Качаем тут. Описание на русском тут.
Jump to: