Commit Graph
83 Commits
Author SHA1 Message Date
Erik Arvstedt 39885d37c1 banlist: simplify script, remove package
We're now directly using Greg's unmodified banlist which
simplifies the update process.

The banlist package with its dependency on the bitcoin datadir path is only
relevant for internal use within nix-bitcoin, so we can safely remove
it.

We're now using the bitcoin-cli from `services.bitcoind.package`.

Fixes #129
2019-11-12 19:42:33 +01:00
Erik Arvstedt 55e73f32e3 bitcoind: add cli option 2019-11-12 19:41:29 +01:00
Erik Arvstedt 8807b9f6b2 bitcoind: remove 'StateDirectory'
This option is useless because we're doing our own state dir management
via 'dataDir'.
2019-11-12 19:41:29 +01:00
Jonas Nick 6157a79956 Merge #118: Move zmq options from nix-bitcoin.nix to bitcoind module
0c22af03b7 Allow AnyProtocol for bitcoin if zmq options are set (and not if lnd is enabled) (Jonas Nick)
cf39d88c63 Move zmq options from nix-bitcoin.nix to bitcoind module (Jonas Nick)

Pull request description:

  ... which is a better place for this. CC @cypherpunk2140

Top commit has no ACKs.

Tree-SHA512: 47d1b95fef78ee31711b5ad5a59000adfb0fcd3bbfe82c7321d87f5a6d7c998646d3428a1c86ff9b0103b167501c8cf3b16e00d4e2b5c09425ab09f732f75a57
2019-11-09 19:47:47 +00:00
Jonas Nick 0c22af03b7 Allow AnyProtocol for bitcoin if zmq options are set (and not if lnd is enabled) 2019-11-09 19:44:06 +00:00
Jonas Nick 8dd27b6334 Use types.str instead of types.string to avoid warning 2019-10-28 20:59:15 +00:00
Jonas Nick c1d67c4cee Update nixpkgs 2019-10-07 11:53:05 +00:00
Jonas Nick cf39d88c63 Move zmq options from nix-bitcoin.nix to bitcoind module 2019-09-30 07:18:02 +00:00
Ștefan D. Mihăilă fccd91972a Fix "value is a list [...]" error when lnd is not enabled 2019-08-24 22:05:41 +02:00
Ștefan D. Mihăilă 9b0753135c Add LND support 2019-08-20 23:54:47 +02:00
Jonas Nick f707d970ae Always chown bitcoin/liquid data directories 2019-07-12 15:32:34 +00:00
Jonas Nick eaaf8e9aab Use IPAddress{Allow,Deny} by default for systemd services 2019-04-28 13:15:17 +00:00
Jonas Nick a089d65d25 Move service hardening flags into separate file 2019-04-28 13:15:12 +00:00
Jonas Nick 0b364718d3 Make deployment faster by importing banlist in background instead of waiting for it to finish 2019-04-08 08:36:28 +00:00
Jonas Nick bf184c17e0 fix making banlist importer wait for bitcoind to start up 2019-03-29 09:44:30 +00:00
Jonas Nick e2f3f38876 Import bitcoind banlist in separate service 2019-03-27 10:46:36 +00:00
Clemens Fruhwirth 66d9650f48 Create /var/lib/bitcoind/blocks
Otherwise:
Mar 25 13:33:22 nix-bitcoin systemd[1]: Starting Bitcoin daemon...
Mar 25 13:33:22 nix-bitcoin f3ickn20fqrz5gd0zm7hgm247b9ajdl8-unit-script-bitcoind-pre-start[1883]: chmod: cannot access '/var/lib/bitcoind/blocks': No such fi>
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Control process exited, code=exited status=1
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Failed with result 'exit-code'.
2019-03-25 14:59:36 +01:00
Jonas Nick 7eed67278d Merge branch 'electrum-server' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-electrum-server 2019-03-24 20:45:26 +00:00
nixbitcoin fca4af59ac Remove mentions of electrs in the bitcoind module, set sysperms & disablewallet only when electrs is enabled, electrs enabled in "all" setting, remove
unnecessary newline, make sysperms & disablewallet optional
2019-03-21 11:27:28 +01:00
nixbitcoin fbc78ce6ed Add Greg Maxwell's banlist to bitcoind postStart 2019-03-21 10:11:18 +01:00
nixbitcoin eacd057963 Fix electrs and add electrs hidden service 2019-03-16 16:11:54 +01:00
Jonas Nick 0210da091d Cleanups 2018-12-06 15:59:41 +00:00
Jonas Nick 4c55b8395c Add 'minimal' and 'all' profiles 2018-12-03 15:31:44 +00:00
Jonas Nick 95c706b1b0 Add operator user 2018-11-28 23:54:19 +00:00
Jonas Nick 94258c505e Make RPC password a secret 2018-11-28 22:58:36 +00:00
Jonas Nick c4935008dc add lightning charge package 2018-11-24 22:34:39 +00:00
Jonas Nick eca9864cf3 fix bitcoind config file linking bug in module 2018-11-23 01:05:53 +00:00
Jonas Nick b1375df03a Add Carl's bitcoind module 2018-11-23 00:48:13 +00:00
Jonas Nick 79aab1255a Add rpc user and password as secrets 2018-11-22 23:51:16 +00:00
Jonas Nick 83eabcf952 Make bitcoin rpcuser and pass configurable 2018-11-22 23:06:41 +00:00
Jonas Nick 668d66085a signed commit 2018-11-22 23:06:07 +00:00
Jonas Nick aec819db81 add clightning 2018-11-22 18:32:26 +00:00
Jonas Nick 63e2c6d270 cleanups 2018-11-20 22:21:45 +00:00