Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
LedgerHQ has laid the foundation for a PSBTv2 library, but it currently lacks some features and has issues with de/serialization. A complete Psbtv2 class can be found in my fork.
It is suggested to use PSBTv0 for all operations and only convert to v2 when communicating with the Ledger device. This can be achieved through utilizing BitcoinJS's excellent PSBTv0 library and utilizing an adapter function from v0 -> v2.
For exmaple if your're working with p2sh(p2wsh) script types, you might have something like:
export function convertPsbtv0ToV2(psbtv0: Psbt): PsbtV2 {
const psbtv2 = new PsbtV2()
# ~/.zshrc | |
# Find and set branch name var if in git repository. | |
function git_branch_name() | |
{ | |
branch=$(git symbolic-ref HEAD 2> /dev/null | awk 'BEGIN{FS="/"} {print $NF}') | |
if [[ $branch == "" ]]; | |
then | |
: | |
else |
Percentage:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width=50% height=50%>
Pixels:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width="150" height="280">
There are several ways you can find inbound liquidity on LN.
If your node is up 24x7 and you have some outgoing channels, the network will connect to you if you simply wait.
However, it might take a couple of weeks to get a significant amount of incoming liquidity, and ideally you want your outgoing liquidity to match too.
Open https://github.com/lightninglabs/lightning-dev-site and while logged in, select the "Fork" option and follow any prompts.
Open terminal and type
/*
* Copyright CC0 Angel Leon <@gubatron>
*/
Update: I believe now it's better to use lldb
, at least on MacOS, here's a LLDB to GDB command map
Here's how to use gdb
to debug issues you might be having hacking bitcoinclassic (or any other C++ program)