Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"github.com/btcsuite/btcutil" | |
. "github.com/btcsuite/btcd/txscript" | |
) |
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"github.com/btcsuite/btcutil" | |
. "github.com/btcsuite/btcd/txscript" | |
) |
Linux/BSD/POSIX/Source | |
Run the following command to start btcd: | |
$ btcd --testnet -u rpcuser -P rpcpass | |
Copy btcd's autogenerated rpc.cert to ~/.btcwallet/ so btcwallet can securely communicate with btcd over a TLS-encrypted websocket. This step is only necessary for the first time starting btcwallet or if | |
btcd's autogenerated cert and key are removed and regenerated. | |
$ mkdir ~/.btcwallet/ | |
$ cp ~/.btcd/rpc.cert ~/.btcwallet/btcd.cert |
Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
apt-get update && apt-get install -y aptitude git lxc-utils zfsutils-linux netfilter-persistent sysstat | |
# find the partition ID that is linked to the storage serial number. | |
# This will prevent from losing the partition if disk mapping changes | |
ls -l /dev/disk/by-id/ | grep sda6 | |
zpool create -f zdata /dev/disk/by-id/wwn-0x600507604092b628236df4851535cef5-part6 | |
## Fixate internal IP address of the container | |
systemctl stop lxc-net | |
sed -i -e 's,^.*LXC_DHCP_CONFILE,LXC_DHCP_CONFILE,' /etc/default/lxc-net |
To remove a submodule you need to:
/* | |
In Ethereum, a contract can be written so that it returns a value for eth_call. | |
A Dapp can then check for success or error value of eth_call, before calling eth_sendTransaction, | |
to take advantage of eth_call effectively being a "preview" of the code flow that the transaction | |
will take. In traditional client-server, clients can't ask servers beforehand what's going to | |
happen when the client makes a call; with Dapps contracts can be written so that clients can ask | |
for a "preview" of what is going to happen, before any funds/ethers are actually utilized | |
(eth_call does not cost any ethers). | |
Note: it is possible that in between eth_call and when eth_sendTransaction is actually mined, |