366 Commits

Author SHA1 Message Date
twisterarmy
2d1b04f3d9 init -onlynet=yggdrasil option 2025-04-29 11:54:05 +03:00
KN4CK3R
db25042269 Fix compilation errors. 2022-06-04 12:43:40 +00:00
erqan
8d060063e3 makes websocket optional 2018-04-24 16:15:45 +03:00
erqan
0e63a70c7c WebSocket... 2018-04-14 12:01:51 +03:00
Miguel Freitas
f4f018a383 rename bitcoin threads 2015-12-22 18:37:11 -02:00
Miguel Freitas
7d31de981c disable libtorrent multi connection per ip by default 2015-12-20 18:41:29 -02:00
Miguel Freitas
9a5d0cc45c missing -public_server_mode from help 2015-09-25 18:01:25 -03:00
Miguel Freitas
92e2fb64b3 twisterd 0.9.30: random listening port.
binds to a random port on init (unless specified by command line -port=28333 etc).
twisterd will memorize the port used last time so reinitializations/reboots won't mess with seeders' directories.
2015-08-01 18:19:03 -03:00
Miguel Freitas
30754d8a0f update -rpcthreads help (default is 10 not 4) 2015-05-18 22:00:01 -03:00
Miguel Freitas
2168e34677 miniupnp dependency removed, yes! :-) fix #130
libtorrent implements a upnp client: use it to map the other twisterd port.
2014-07-04 00:03:06 -03:00
Miguel Freitas
e52f2c2527 dhtproxy: tunnel DHT traffic into TCP connections 2014-06-26 16:38:43 -03:00
Miguel Freitas
d4b1c9b569 check HAVE_BOOST_LOCALE and fix compilation when boost-locale is not available 2014-04-11 18:03:24 -03:00
Denis Ryabov
671bec8e78 an attempt to fix issue #111 2014-03-17 23:23:53 +04:00
Miguel Freitas
1ff690e9a0 use the same proxy settings (like Tor socks5) for libtorrent as well. DHT still won't work. 2014-02-15 16:51:00 -02:00
Miguel Freitas
102d172ca3 highly experimental soft checkpoint based on consensus 2014-01-19 22:25:22 -02:00
toyg
0ada1bda54 fixes #56 2014-01-17 01:21:01 +00:00
Miguel Freitas
8631460293 reduce MIN_CORE_FILEDESCRIPTORS again, now that we have a single leveldb for all torrents.
MIN_CORE_FILEDESCRIPTORS can't be much higher because it will limit nMaxConnections.
2014-01-15 08:47:05 -02:00
Miguel Freitas
bf3ec900d0 some nodes are still on the wrong chain (block 18973 with an invalid spamuser). checkpoint the
correct branch to force them to go to the right chain.
2014-01-13 08:03:43 -02:00
Miguel Freitas
77d1a4fb7b trying to fix infinite recursion in SetBestChain 2014-01-12 23:44:33 -02:00
Miguel Freitas
394333a8bb increase the number of blocks to check at startup to force people to move to the right chain. 2014-01-09 15:03:50 -02:00
toyg
ce787d6cd3 Replaced references to bitcoin/bitcoind in user-visible messages 2014-01-06 15:53:54 +00:00
Miguel Freitas
5462a3bf0b increase number of file descriptors as discussed in #24
the original value was ok for bitcoin only but now we also need fd's for libtorrent.
2014-01-02 14:21:12 -02:00
Miguel Freitas
c61f016b44 reduce checkblocks even more for faster startup 2013-11-23 10:04:43 -02:00
Miguel Freitas
d5a81fdcdd check less blocks on startup 2013-11-21 14:50:49 -02:00
Miguel Freitas
30992b87c3 use scrypt hash function like litecoin 2013-11-14 00:57:51 -02:00
Miguel Freitas
bc0519068a parameter -htmldir 2013-11-11 17:14:12 -02:00
Miguel Freitas
a4695ba9e1 delay libtorrent initialization until we have valid blocks 2013-11-04 19:55:59 -02:00
Miguel Freitas
06c93bcf38 update port in help text 2013-10-27 16:12:06 -02:00
Miguel Freitas
66fb23c4b8 try to fix automatically another block db inconsistency problem 2013-10-26 13:08:37 -02:00
Miguel Freitas
21faab36b7 inform the user that database will be rebuilt. without UI, the old message was confusing. 2013-10-22 19:47:50 -02:00
Miguel Freitas
6f48cf1dc1 rebuild database on error 2013-10-01 19:53:27 -03:00
Miguel Freitas
0f91f9e867 proper libtorrent stop, session save 2013-08-02 00:43:04 -03:00
Miguel Freitas
187904d1e8 create new twister.cpp with libtorrent initialization 2013-08-01 20:05:00 -03:00
Miguel Freitas
71e0da6705 initialize libtorrent session with external ip set 2013-08-01 17:05:37 -03:00
Miguel Freitas
fb00bb154e first hack compiling bitcoind (twister) + libtorrent 2013-07-31 09:05:12 -03:00
Miguel Freitas
78ba2a5609 another big wallet cleanup 2013-07-25 12:06:56 -03:00
Miguel Freitas
fe57966e05 starting wallet cleanup. added username, renamed to twisterwallet.dat 2013-07-24 19:50:37 -03:00
Miguel Freitas
7fd4a9f585 twister initial printf 2013-07-20 15:42:47 -03:00
Miguel Freitas
b0716cdc3d fTxIndex always true in twister 2013-07-18 18:42:22 -03:00
Miguel Freitas
7a47376e40 removing stuff 2013-07-17 15:23:47 -03:00
Miguel Freitas
5018edc8ca remove txfee 2013-07-16 08:46:22 -03:00
Eric Lombrozo
e6fe8e77fb Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp 2013-06-24 09:33:15 -07:00
Eric Lombrozo
7db120d531 Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h 2013-06-23 19:59:34 -07:00
Pieter Wuille
fd967fed89 Merge pull request #2783 from sipa/newtxindex
Initialize database before checking changed txindex
2013-06-23 15:49:08 -07:00
Jeff Garzik
6d3f0058f7 init.cpp: fix chainparams.h double include.
Noticed by Diapolo.
2013-06-23 11:32:38 -04:00
Jeff Garzik
4be2aba302 Merge pull request #2778 from jgarzik/rpc-verifydb
RPC: add 'verifychain' to verify chain database at runtime
2013-06-22 23:08:13 -07:00
Pieter Wuille
067a6092ac Initialize database before checking changed txindex
In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.

That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
2013-06-22 16:14:26 +02:00
Jeff Garzik
168ba99392 Pass check level, check depth to VerifyDB() 2013-06-19 11:32:49 -04:00
Mike Hearn
0e4b317555 Introduce a CChainParameters singleton class and regtest mode.
The new class is accessed via the Params() method and holds
most things that vary between main, test and regtest networks.
The regtest mode has two purposes, one is to run the
bitcoind/bitcoinj comparison tool which compares two separate
implementations of the Bitcoin protocol looking for divergence.

The other is that when run, you get a local node which can mine
a single block instantly, which is highly convenient for testing
apps during development as there's no need to wait 10 minutes for
a block on the testnet.
2013-06-19 16:28:52 +02:00
Philip Kaufmann
0206e38dcd allow txindex to be removed and add a reindex dialog
- adds a reindex dialog for Bitcoin-Qt to change -txindex without the need
  to supply -reindex
- now also does a -reindex, when removing the -txindex switch
2013-06-10 19:27:57 +02:00