Skip to content

Instantly share code, notes, and snippets.

@sangaman
sangaman / gist:6612ee3f7bd75d92030ae8b4c2708555
Created December 21, 2017 20:59
LND WSL Neutrino Segmentation Violation
View gist:6612ee3f7bd75d92030ae8b4c2708555
2017-12-20 23:37:28.162 [DBG] BTCN: Actual timespan 359h35m20s, adjusted timespan 359h35m20s, target timespan 336h0m0s
unexpected fault address 2017-12-20 23:37:28.234 [DBG] BTCN: Sending getcfheaders to 159.203.125.125:18333 (outbound)
0x7ff8796a1008
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7ff8796a1008 pc=0x4ea9e9]
goroutine 87 [running]:
runtime.throw(0xe50612, 0x5)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc4201ed020 sp=0xc4201ed000
runtime.sigpanic()
@sangaman
sangaman / gist:0e70bca85dc92c5f2ea2f3409f353a73
Created December 21, 2017 21:10
LND WSL ChannelUpdate Segmentation Violation
View gist:0e70bca85dc92c5f2ea2f3409f353a73
2017-12-21 13:11:42.140 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943, short_chan_id=1328035224004853760, flag=1, update_time=2017-10-05 11:36:30 -0400 DST) from 159.203.125.125:9735
unexpected fault address 0x7fdff36a1008
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7fdff36a1008 pc=0x4ea9e9]
goroutine 538 [running]:
runtime.throw(0xe50612, 0x5)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc42066d618 sp=0xc42066d5f8
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:297 +0x28c fp=0xc42066d668 sp=0xc42066d618
@sangaman
sangaman / gist:8d1bb3dd01923ad24d641591c764e93b
Created December 21, 2017 21:12
LND WSL ChannelAnnouncement Segmentation Violation
View gist:8d1bb3dd01923ad24d641591c764e93b
2017-12-21 15:27:54.805 [DBG] PEER: Sending ChannelAnnouncement(chain_hash=000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943, short_chan_id=1378302696603648000) to 34.250.234.192:9735
unexpected fault address 0x7fa6a2764008
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7fa6a2764008 pc=0x4ea9e9]
goroutine 4141 [running]:
runtime.throw(0xe50612, 0x5)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc420a67178 sp=0xc420a67158
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:297 +0x28c fp=0xc420a671c8 sp=0xc420a67178
@sangaman
sangaman / gist:00ec664d22548c7f2517a79d3fd31bf4
Created December 29, 2017 16:21
Lightning Gem Secret Hashes 2018
View gist:00ec664d22548c7f2517a79d3fd31bf4
12/29/17 C9A6CB59A995EE5945C27EBDE78AEB618273FA5F66713AF3296E5A0C0B0B92F5
12/30/17 4A02EA73BD440EAF9DB85D4E800165DC7735F70AD9CB48DE1F8984A6E48A5CFC
12/31/17 8693FABFA10ADC09375BAE024C4143AF2C46ECC655299D9AAB9E555F6763E955
01/01/18 5794A73E056B5DC39CE193718A2B060999258E1E3DE5E60ED4FCFF22EAF48E80
01/02/18 A0ED38911EDF2B565E70F74FDE26A6A7DE83AFAF3EAAF5822C8479CE2CF9A05A
01/03/18 E9849DFB9C4C423DFFCF7405E3D355CF03E64819846AF68CA911494BC040303C
01/04/18 13774D25CAD9409F03A1E7A4BD60EC7031C572210EB4CA415A7E0034D4F1AE87
01/05/18 6F01CB6E1F5043B2F76B160DE13C69CF565D652122212D8479EC8AEB100477A9
01/06/18 5B5E3E68E578EAFBEB8362D11DA710F2ADC5E26FCA4DCB48E52101F995EB08F3
01/07/18 0D82BC61102BC0D2FFBC6F1441BD16BCFB1021CD4F1BB697C93222CE9F4A4F9E
@sangaman
sangaman / CHANGELOG.md
Last active October 11, 2018 20:54
sample xud changelog alpha.1
View CHANGELOG.md
@sangaman
sangaman / launch.json
Created October 16, 2018 03:20
Xud - Sample VSCode configuration
View launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug",
"cwd": "${workspaceRoot}",
"args": [
"bin/xud"
View xud-Alice-1566005730.log
16/08/2019 21:35:46.481 [GLOBAL] info: config loaded
16/08/2019 21:35:46.575 [DB] info: connected to database /home/daniel/Documents/GitHub/xud/test/simulation/temp/xuddatadir-Dave/xud-simnet.db
16/08/2019 21:35:46.783 [RAIDEN] info: RaidenClient status: Disabled
16/08/2019 21:35:46.787 [LND-BTC] info: trying to verify connection to lnd at 127.0.0.1:19568
16/08/2019 21:35:46.789 [LND-LTC] info: trying to verify connection to lnd at 127.0.0.1:19556
16/08/2019 21:35:46.804 [LND-BTC] info: LndClient status: ConnectionVerified
16/08/2019 21:35:46.806 [LND-LTC] info: LndClient status: ConnectionVerified
16/08/2019 21:35:46.808 [LND-BTC] debug: pubkey is 02853acc7d3050e357e40b9e1329b96ac1ea15383a822648748c8f6a1d01f8998f
16/08/2019 21:35:46.808 [LND-BTC] debug: uris are 02853acc7d3050e357e40b9e1329b96ac1ea15383a822648748c8f6a1d01f8998f@127.0.0.1:19567
16/08/2019 21:35:46.808 [LND-BTC] debug: chain is bitcoin-simnet
@sangaman
sangaman / keybase.md
Created September 10, 2019 14:33
keybase
View keybase.md

Keybase proof

I hereby claim:

  • I am sangaman on github.
  • I am sangaman (https://keybase.io/sangaman) on keybase.
  • I have a public key ASAIvpn-QOXosuWsmou3C_qcUqGmfMcgcdI8w8_0e3ondQo

To claim this, I am signing this object:

@sangaman
sangaman / keybase.md
Created September 10, 2019 14:33
keybase
View keybase.md

Keybase proof

I hereby claim:

  • I am sangaman on github.
  • I am sangaman (https://keybase.io/sangaman) on keybase.
  • I have a public key ASAIvpn-QOXosuWsmou3C_qcUqGmfMcgcdI8w8_0e3ondQo

To claim this, I am signing this object:

View lnd.log
2020-04-27 16:25:11.686 [ERR] RPCS: [connectpeer]: error connecting to peer: already connected to peer: 0331c98ab6ec199164130cca2b2118a17e7d5e8b53d4e46ddfd4b656a30c636b70@5ucnksx35jjj34atausbifhyoiv7adsrjatqb5vpns6fftqaxmbvzfid.onion:29375
2020-04-27 16:25:11.686 [ERR] RPCS: [/lnrpc.Lightning/ConnectPeer]: already connected to peer: 0331c98ab6ec199164130cca2b2118a17e7d5e8b53d4e46ddfd4b656a30c636b70@5ucnksx35jjj34atausbifhyoiv7adsrjatqb5vpns6fftqaxmbvzfid.onion:29375
2020-04-27 16:25:11.951 [DBG] BTCN: Received headers (num 1) from 35.231.222.142:38555 (outbound)
2020-04-27 16:25:11.951 [INF] BTCN: Processed 1 block in the last 1m0.07s (height 27046, 2020-04-27 16:25:11 +0000 UTC)
2020-04-27 16:25:12.020 [INF] BTCN: Attempting to fetch set of un-checkpointed filters at height=27046, hash=43f8538fc64765ef67538782a99f49594aef9a50436a0e75739bb508b360eb85
2020-04-27 16:25:12.020 [DBG] BTCN: Sending getheaders (locator 43f8538fc64765ef67538782a99f49594aef9a50436a0e75739bb508b360eb85, stop 00000000000000000000000000