Skip to content

Instantly share code, notes, and snippets.

View lnd-0.9-0.10.diff
diff -Naur proto/0.9.0-beta/autopilotrpc/autopilot.proto proto/0.10.0-beta/autopilotrpc/autopilot.proto
--- proto/0.9.0-beta/autopilotrpc/autopilot.proto 2020-04-13 00:01:23.000000000 +0200
+++ proto/0.10.0-beta/autopilotrpc/autopilot.proto 2020-04-19 10:30:30.000000000 +0200
@@ -11,68 +11,70 @@
/**
Status returns whether the daemon's autopilot agent is active.
*/
- rpc Status(StatusRequest) returns (StatusResponse);
+ rpc Status (StatusRequest) returns (StatusResponse);
View gist:7852cefab09edd713a69e147ce91c049
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* npx babel-tape-runner test/grpc.test.js | npx tap-spec
connect (paths)
lnrpc:grpc Initializing LndGrpc with config: { host: 'testnet4-lnd.zaphq.io:10009', cert: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/tls.cert', macaroon: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/readonly.macaroon' } +0ms
lnrpc:grpc Connecting to lnd gRPC service +8ms
lnrpc:grpc Attempting to determine wallet state +75ms
lnrpc:service:WalletUnlocker Connecting to WalletUnlocker gRPC service +0ms
lnrpc:service:WalletUnlocker Establishing gRPC connection to WalletUnlocker with proto file /Users/tom/workspace/node-lnd-grpc/proto/0.9.0-beta/lnrpc/rpc.proto +2ms
2020-04-16T17:01:10.057Z | resolving_load_balancer | testnet4-lnd.zaphq.io:10009 IDLE -> IDLE
View gist:1610d70e8591a11427b6deb10d6989a9
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* TOR=true npx babel-tape-runner test/servives.Lightning.test.js | npx tap-spec
Lightning.invoices
lnrpc:grpc Initializing LndGrpc with config: { host: 'zapn34qfeedw2l5y26p3hnnkusqnbhxcxw64lq5cojmvq45yw4bc3sqd.onion:10009', cert: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/tls.cert', macaroon: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/readonly.macaroon' } +0ms
lnrpc:grpc Connecting to lnd gRPC service +5ms
lnrpc:tor Starting tor with settings: { DataDirectory: '/var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-gsRkjS/data', HTTPTunnelPort: '127.0.0.1:9065', SocksPort: 0, 'Log info': 'stdout' } +0ms
lnrpc:tor Generated torrc at /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-gsRkjS/torrc:
lnrpc:tor DataDirectory /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-gsRkjS/data
HTTPTunnelPort 127.0.0.1:9065
View gist:1f1aa500b75b55612ac6e1ae43734372
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* TOR=true npx babel-tape-runner test/servives.Lightning.test.js | npx tap-spec
D0416 19:11:23.920045000 4503690688 dns_resolver.cc:294] Using native dns resolver
I0416 19:11:23.920449000 4503690688 timer_manager.cc:88] Spawn timer thread
I0416 19:11:23.920467000 4503690688 init.cc:164] grpc_init(void)
I0416 19:11:23.920530000 123145470877696 timer_manager.cc:250] timers not checked: expect another thread to
I0416 19:11:23.920538000 123145470877696 timer_manager.cc:197] sleep until kicked
I0416 19:11:23.920796000 4503690688 completion_queue.cc:504] grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
Lightning.invoices
View gist:dad5767920d182cc72654fcfe73648aa
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* TOR=true npx babel-tape-runner test/grpc.test.js | npx tap-spec
connect (paths)
lnrpc:grpc Initializing LndGrpc with config: { host: 'zapn34qfeedw2l5y26p3hnnkusqnbhxcxw64lq5cojmvq45yw4bc3sqd.onion:10009', cert: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/tls.cert', macaroon: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/readonly.macaroon' } +0ms
lnrpc:grpc Connecting to lnd gRPC service +7ms
lnrpc:tor Starting tor with settings: { DataDirectory: '/var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-RmHJwF/data', HTTPTunnelPort: '127.0.0.1:9065', SocksPort: 0, 'Log info': 'stdout' } +0ms
lnrpc:tor Generated torrc at /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-RmHJwF/torrc:
lnrpc:tor DataDirectory /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-RmHJwF/data
HTTPTunnelPort 127.0.0.1:9065
View gist:50a517b223af0e4846e87aa24b8ba6b3
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* TOR=true npx babel-tape-runner test/grpc.test.js | npx tap-spec
connect (paths)
lnrpc:grpc Initializing LndGrpc with config: { host: 'zapn34qfeedw2l5y26p3hnnkusqnbhxcxw64lq5cojmvq45yw4bc3sqd.onion:10009', cert: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/tls.cert', macaroon: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/readonly.macaroon' } +0ms
lnrpc:grpc Connecting to lnd gRPC service +7ms
lnrpc:tor Starting tor with settings: { DataDirectory: '/var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/data', HTTPTunnelPort: '127.0.0.1:9065', SocksPort: 0 } +0ms
lnrpc:tor Generated torrc at /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/torrc:
lnrpc:tor DataDirectory /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/data
HTTPTunnelPort 127.0.0.1:9065
View gist:01462a9232f77f0394ada8061bd4fcd7
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* TOR=true npx babel-tape-runner test/grpc.test.js | npx tap-spec
connect (paths)
lnrpc:grpc Initializing LndGrpc with config: { host: 'zapn34qfeedw2l5y26p3hnnkusqnbhxcxw64lq5cojmvq45yw4bc3sqd.onion:10009', cert: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/tls.cert', macaroon: '/Users/tom/workspace/node-lnd-grpc/test/fixtures/testnet4/readonly.macaroon' } +0ms
lnrpc:grpc Connecting to lnd gRPC service +7ms
lnrpc:tor Starting tor with settings: { DataDirectory: '/var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/data', HTTPTunnelPort: '127.0.0.1:9065', SocksPort: 0 } +0ms
lnrpc:tor Generated torrc at /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/torrc:
lnrpc:tor DataDirectory /var/folders/1b/496ss_hn7dx7wntf1w8qn6200000gn/T/lnd-grpc-rWXKVa/data
HTTPTunnelPort 127.0.0.1:9065
View gist:89fa4e9c0cff167ff949cba4c84081a5
macbook-pro:node-lnd-grpc tom$ GRPC_TRACE=all GRPC_VERBOSITY=DEBUG DEBUG=lnrpc* npx babel-tape-runner test/grpc.test.js | npx tap-spec
D0413 18:50:30.484512000 4451655104 dns_resolver.cc:294] Using native dns resolver
I0413 18:50:30.484734000 4451655104 timer_manager.cc:88] Spawn timer thread
I0413 18:50:30.484755000 4451655104 init.cc:164] grpc_init(void)
I0413 18:50:30.484771000 123145564200960 timer_manager.cc:250] timers not checked: expect another thread to
I0413 18:50:30.484779000 123145564200960 timer_manager.cc:197] sleep until kicked
I0413 18:50:30.485014000 4451655104 completion_queue.cc:504] grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
connect (paths)
@mrfelton
mrfelton / lnd-0.8-0.9.diff
Last active Feb 4, 2020
lnd grpc 0.8 - 0.9 diff
View lnd-0.8-0.9.diff
diff -Naur proto/0.8.0-beta/invoicesrpc/invoices.proto proto/0.9.0-beta/invoicesrpc/invoices.proto
--- proto/0.8.0-beta/invoicesrpc/invoices.proto 2019-10-18 09:43:05.000000000 +0200
+++ proto/0.9.0-beta/invoicesrpc/invoices.proto 2020-02-04 11:22:37.000000000 +0100
@@ -55,10 +55,21 @@
/// The hash of the preimage
bytes hash = 2 [json_name = "hash"];
- /// The value of this invoice in satoshis
+ /**
+ The value of this invoice in satoshis
View keybase.md

Keybase proof

I hereby claim:

  • I am mrfelton on github.
  • I am mrfelton (https://keybase.io/mrfelton) on keybase.
  • I have a public key whose fingerprint is 2D1C 54C7 742C 21BD 47E6 C51C 7220 3A8E C596 7EA8

To claim this, I am signing this object: