<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bitcoin on Whisperd</title><link>https://readme.host/tags/bitcoin/index.xml</link><description>Recent content in Bitcoin on Whisperd</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 29 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://readme.host/tags/bitcoin/index.xml" rel="self" type="application/rss+xml"/><item><title>Setup Multi-User Environment for lbcd</title><link>https://readme.host/post/lbcd_multi_user/</link><pubDate>Thu, 29 Feb 2024 00:00:00 +0000</pubDate><guid>https://readme.host/post/lbcd_multi_user/</guid><description>Prerequisites Install Caddy
Install lbcd
Configuration For Caddyfile
rpc.yourdomain.xyz { basicauth * { user1 hashed-password1 user2 hashed-password2 } reverse_proxy :9245 { header_up Authorization &amp;#34;Basic abcdefg&amp;#34; } } Hashed password is generated with
caddy hash-password -p plain-text-password The Authorization header value Basic abcdefc can be extracted using Postman by setting Authorization -&amp;gt; Basic Auth with username and password.
Post to https://rpc.yourdomain.xyz Body:
{ &amp;#34;version&amp;#34;: &amp;#34;2.0&amp;#34;, &amp;#34;id&amp;#34;: 8337029974246184036, &amp;#34;method&amp;#34;: &amp;#34;getblockcount&amp;#34;, &amp;#34;params&amp;#34;: [] } Start caddy start caddy adapt caddy stop ~/go/bin/lbcd --rpcuser=user --rpcpass=password --notls ## shutdown kill -9 lbcd-pid</description></item></channel></rss>