<?php
$from = "0xc562B9310436D9fA01ED015E48145";
$to = "0xAAAB2eC23dd5dd9602e631B8399fA94";
$gas_price = "0x800e8dfc00";
$gas_limit = "0x01d4c0";
$value = "0x018493fba64ef00000";
$data = '{"method":"personal_sendTransaction","params":[{"from":"'.$from.'","to":"'.$to.'","gas": "'.$gas_limit.'", "gasPrice": "'.$gas_price.'","data":"","value":"'.$value.'"},"password"],"id":1,"jsonrpc":"2.0"}';
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,'localhost:8545');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$data = curl_exec($ch);
print_r($data);
curl_close($ch);
php通过parity发送eth转账
发布时间:December 24, 2017 // 分类: // 2 Comments
LInux网络测速工具speedtest
发布时间:December 10, 2017 // 分类: // No Comments
wget -O /usr/bin/speedtest https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x /usr/bin/speedtest
speedtest
选择指定服务器:
speedtest --list
speedtest --list|grep China
speedtest --server 4751
分类
- Apache (13)
- Nginx (45)
- PHP (86)
- IIS (8)
- Mail (17)
- DNS (16)
- Cacti (14)
- Squid (5)
- Nagios (4)
- Puppet (7)
- CentOS (13)
- Iptables (23)
- RADIUS (3)
- OpenWrt (41)
- DD-WRT (1)
- VMware (9)
- 网站程序 (2)
- 备份存储 (11)
- 常用软件 (20)
- 日记分析 (10)
- Linux基础 (18)
- 欧诺代理 (0)
- Linux服务 (18)
- 系统监控 (4)
- 流量监控 (7)
- 虚拟化 (28)
- 伪静态 (2)
- LVM (3)
- Shell (18)
- 高可用 (2)
- 数据库 (16)
- FreeBSD (3)
- 网络安全 (25)
- Windows (35)
- 网络工具 (22)
- 控制面板 (3)
- 系统调优 (10)
- Cisco (3)
- VPN (5)
- ROS (20)
- Vim (14)
- KMS (4)
- PXE (2)
- Mac (1)
- Git (1)
- PE (1)
- LNS (2)
- Xshell (7)
- Firefox (13)
- Cygwin (4)
- OpenSSL (9)
- Sandboxie (3)
- StrokesPlus (1)
- AutoHotKey (4)
- Total Commander (3)
- WordPress (3)
- iMacros (6)
- Typecho (2)
- Ollydbg (1)
- Photoshop (1)
- 正则 (3)
- Debian (3)
- Python (8)
- NoSQL (6)
- 消息队列 (4)
- JS (7)
- Tmux (3)
- GO (7)
- HHVM (2)
- 算法 (1)
- Docker (2)
- PT (15)
- N1 (16)
- K2P (6)
- LUKS (4)
最新文章
- 编译纯净版k2p padavan支持802.11 kvr固件
- 使用glibc编译的openwrt支持utf8中文显示和输入
- 360t7通过usb tll刷入不死uboot和openwrt系统
- N1盒子/arm64下cups使用兄弟打印机Brother HL-2260D的问题
- pve减少对ssd硬盘的写入量
- 使用PaddleOCR图片文字识别
- sftpgo为ftp/webdav添加支持软链接symlink目录和文件patch
- sftpgo为ftp/webdav/sftp添加匿名anonymous访问
- 使用avahi配置mdns/dns-sd网络发现samba/ftp
- OpenWrt/PandoraBox多网段转发udp广播包
最近回复
- 1: 方法一ngtcp2要改下:./configure PKG_CONFIG_PATH=/usr/l...
- 海运: 关闭服务器
- 海风: override.battery.charge.low以及override.battery.r...
- koldjf: 不能过滤
- 杰迪武士: 此文甚好甚强巨,依照此文在树莓派2 + Rasbian上部署成功 感谢博主美文共赏
- 海运: ups不知有没选项可设置此参数,不过你可以在另外一台电脑上安装nut客户端自动关机。
- kgami: 想请教一下,设置了的电脑自动关机之后,几秒后UPS怎么也跟着关机了,导致另外一台电脑没关机就断...
- 海运: 写的很详细了啊,/etc/nut/hosts.conf用以nut-cgi连接nut服务器参数,...
- ryan: 请问下nginx配置好了,怎么和这个nut链接呢?最后可视化管理这块能给个详细一点的教程么?谢谢。
- 1: /etc/config/fstab配置文件 https://openwrt.org/zh/do...