Position: Home page » Ethereum » Ethereum query transaction ID command

Ethereum query transaction ID command

Publish: 2021-04-29 02:15:24
1. You can choose to trade in the digital currency exchange. At present, the mainstream digital currency exchanges in the market are coin security, fire currency and bitnet.
2. For indivial investors, the realm kingdom with lower investment threshold is more suitable, because its entry threshold starts from $100, which is very low.
3.

If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records

the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:

< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){
transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />});

Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query

recommend a practical introction, you can see: Ethereum tutorial

4. With bitpie wallet, this is the largest bitcoin wallet in China. It can buy and sell bitcoin with one click, which is much more convenient than the exchange.
5. Just focus:
you can't retrieve your assets through Ethereum block query
think too much
if you want to check the real estate,

you can go to the real estate transaction registration center.
6. With the blockchain browser, bitcoin has its own browser. Ethereum and bitcoin are both used. The token based on Ethereum can also be queried on Ethereum's blockchain browser, and usdt can be queried on bitcoin's blockchain browser
7. Many people are optimistic about the decentralized exchange. The private key is in their own hands and they enjoy complete control over the user's assets. However, e to the congestion of Ethereum's public chain, the trading experience of the decentralized exchange on Ethereum is not very good and slow. At present, the most promising is the X protocol, but if the problem of Ethereum is not solved, its application problems can not be started at all
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
8. Highlights
the Ministry of Ecation said that it will increase investment in art ecation this year and hold a National School Aesthetic Ecation Conference on the 21st< In recent years, Zhejiang, Anhui, Guangdong and other provinces have launched provincial environmental supervision, focusing on thermal power, steel, cement, glass, waste incineration and other instries
the Hang Seng ah premium index closed at 122.58, a new low in the last 10 months. Analysts believe that the ah share price gap will further narrow with the expansion of interconnection< It is estimated that the global gold demand and supply will rise by 1.5% and 0.5% respectively this year, and the gold price will break through in the second half of this year
04
major events
- the first digital China Construction Summit is about to be held in Hainan. We need to implement the strategy of
among the listed companies, gaoweida (300465) acquired 100% equity of Hainan nut creative Entertainment Information Technology Co., Ltd., which used big data analysis technology to build a mobile advertising platform characterized by hardware. Aofei data (300738) is the core provider of IDC (Internet Data Center Service), and Haikou Jinlu data center is under construction
● Alibaba's first shopping center will be opened soon, and the online and offline shopping centers will be fully integrated
the third phase of qinchengli shopping center in Hangzhou Xixi park will be officially opened on April 28. This is the first shopping center of Ali's new retail, which records consumers' purchase preferences through collection and storage. At the same time, Ali will implement new technologies such as "face brushing consumption", "zero burden shopping", "ar shopping guide" and "thousands of people and thousands of noodles" magic fitting in this project, so as to realize a new mode of online integration and offline (Omo), All brands of the shopping center are jointly operated online and offline to explore new retail brands of the Internet
comments: among the listed companies, Nan property (603506) qinchengli is the first commercial project of "light asset export management". Visionary (002841) has become the first hardware service provider of Alibaba new retail, jointly building the landing ecology of smart stores. Dashi intelligence (002421) has cooperation with ALI Alipay.
> Internet plus medical health policy will fall to the ground, and the demand for hospital information will rise
comment: electronic medical records, medical technology, information platform, grading treatment system, and big data analysis, cloud platforms and other high grade procts demand began to rise. Neusoft group (600718), Weining health (300253) and other listed companies have won relevant software projects in hospitals< More than 10 billion yuan of integrated circuit projects are contracted intensively, and consumables and equipment are the key points.
comments: there is a big gap between China and foreign advanced level in the field of semiconctor equipment and materials. With the proction of wafer factories, it is an inevitable trend to localize supporting semiconctor materials. We are optimistic about Jingrui (300655) and jianghuawei (603078), which are mainly engaged in wet electronic chemicals, And Shanghai Xinyang (300236) and other companies that have been invested by large funds<
05
policies and instries point to hot spots
Hainan explores and develops competitive sports lottery
mining Hainan lottery stocks: Aijian group (600643), Xinhualian (000620)
Hainan needs to implement big data strategy as a whole
Hainan big data concept stocks: aofei data (300738), gaoweida (300465)
Ali's first shopping center is about to open, Full integration of online and offline
Alibaba's new retail concept stocks: Nan property (603506), Shiyuan shares (002841), Dashi intelligent (002421)
- Alibaba is about to release its cloud communication procts
cloud communication concept stocks: Beiwei Technology (002148), mengwang group (002123), 263 (002467), etc Tianji Technology (300245)
panel manufacturers speed up the layout of 8K screen
8K screen concept stocks: precision electronics (300567), East China Technology (000727), BOE a (000725), shentianma a (000050)
indivial stock gold rush
> Huarui shares (300626) annual net profit increased by 44% year on year, and it is planned to transfer 10 shares to 8 shares and send 1 yuan< According to the information development (300469) annual report, it is planned to pay 1 yuan for 10 transfers and 8 transfers< The annual net profit of Shandong mining machinery (002526) increased by 567% year-on-year, and it is planned to turn 10 to 7< The annual net profit of Jianfa shares (600153) increased by 17%, and the holding of securities fund increased to 4.9% from 3.61% at the end of last three quarters
> Huayu automobile (600741) participated in the IPO of Yap automobile, and the company's shareholding accounted for 33.90% of the total share capital of Yap automobile before the IPO
> Tengda construction (600512) won the bid of 1.17 billion yuan civil construction project, accounting for 32.6% of the revenue in 2017
07
comments on leading stocks
Desheng technology-002908
comments: moreover, this vote resonates with the index in time sharing, which also belongs to the different to consistent seal back, so it is inevitable to enjoy the premium. The current objective disk situation, the strongest main line is undoubtedly Hainan, but not how to give opportunities. Digital China is an auxiliary line for diverting funds, which resonates with the index at the end of the day, but it is difficult to judge whether to take advantage of the situation or build up the momentum. It still depends on the situation.
9. You can check the market of Ethereum on non trumpet, but you can't trade it. If you want to invest, you can go to the digital currency exchange. At present, all the mainstream digital currency transactions in the market are coin security, fire coin network, bitnet, etc.
10. 如何快速辨别网卡ID与物理网卡的对应关系
一般购买的服务器都有4个网卡,这个时候在安装好服务器后,配置IP的时候就郁闷了
如是一个浪潮8560M2服务器安装Redhat后的网卡显示:
[root@DBSERVER51 ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:ED:2D:0F:58
inet addr:192.168.4.10 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40428 errors:0 dropped:0 overruns:0 frame:0
TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3413500 (3.2 MiB) TX bytes:44521 (43.4 KiB)
Memory:faee0000-faf00000

eth1 Link encap:Ethernet HWaddr 00:E0:ED:2D:0F:59
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:fae60000-fae80000

eth2 Link encap:Ethernet HWaddr 00:25:90:5A:15:B6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:fafe0000-fb000000

eth3 Link encap:Ethernet HWaddr 00:25:90:5A:15:B7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:faf60000-faf80000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:660 (660.0 b) TX bytes:660 (660.0 b)
从一个机房搬下来时,忘记标记了这个时候还是想修改eth0作为通信口但是一个一个插拔比较麻烦,于是就想能不能有个好办法,毕竟Linux不像Windows那样直观,打开网络连接就可以看到这个时候就要用到ethtool这样一个命令,命令详解如下:
命令描述:
ethtool 是用于查询及设置网卡参数的命令
ethX是以太网卡的名称,Linux系统将检测到的第一块以太网卡命名为eth0, 第二块为eth1,…….
使用概要:
ethtool ethx //查询ethx网口基本设置,其中 x 是对应网卡的编号,如eth0、eth1等等
ethtool –h //显示ethtool的命令帮助(help)
ethtool –i ethX //查询ethX网口的相关信息
ethtool –d ethX //查询ethX网口注册性信息
ethtool –r ethX //重置ethX网口到自适应模式
ethtool –S ethX //查询ethX网口收发包统计
ethtool –s ethX [speed 10|100|1000] [plex half|full] [autoneg on|off] //设置网口速率10/100/1000M、设置网口半/全双工、设置网口是否自协商
ethtool [ -a | -c | -g | -i | -d | -k | -r | -S |] ethX
ethtool [-A] ethX [autoneg on|off] [rx on|off] [tx on|off]
ethtool [-C] ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx-usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N][pkt-rate-low N][rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-lowN] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N]
ethtool [-G] ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N]
ethtool [-e] ethX [raw on|off] [offset N] [length N]
ethtool [-E] ethX [magic N] [offset N] [value N]
ethtool [-K] ethX [rx on|off] [tx on|off] [sg on|off] [tso on|off]
ethtool [-p] ethX [N]
ethtool [-t] ethX [offline|online]
ethtool [-s] ethX [speed 10|100|1000] [plex half|full] [autoneg on|off] [port tp|aui|bnc|mii] [phyad N] [xcvr internal|external]
[wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N]
标志
-a 查看网卡中 接收模块RX、发送模块TX和Autonegotiate模块的状态:启动on 或 停用off
-A 修改网卡中 接收模块RX、发送模块TX和Autonegotiate模块的状态:启动on 或 停用off
-c display the Coalesce information of the specified ethernet card
-C Change the Coalesce setting of the specified ethernet card
-g Display the rx/tx ring parameter information of the specified ethernet card
-G change the rx/tx ring setting of the specified ethernet card
-i 显示网卡驱动的信息,如驱动的名称、版本等
-d 显示register mp信息, 部分网卡驱动不支持该选项
-e 显示EEPROM mp信息,部分网卡驱动不支持该选项
-E 修改网卡EEPROM byte
-k 显示网卡Offload参数的状态:on 或 off,包括rx-checksumming、tx-checksumming等
-K 修改网卡Offload参数的状态
-p 用于区别不同ethX对应网卡的物理位置,常用的方法是使网卡port上的led不断的闪N指示了网卡闪的持续时间,以秒为单位
-r 如果auto-negotiation模块的状态为on,则restarts auto-negotiation
-S 显示NIC- and driver-specific 的统计参数,如网卡接收/发送的字节数、接收/发送的广播包个数等
-t 让网卡执行自我检测,有两种模式:offline or online
-s 修改网卡的部分配置,包括网卡速度、单工/全双工模式、mac地址等
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750