比特股全節(jié)點(diǎn)witness_node參數(shù)翻譯

引用 http://docs.bitshares.org/apps/node.html?highlight=witness_node

一 命令行參數(shù)

./witness_node -h
Graphene Witness Node:=》石墨烯見證人節(jié)點(diǎn)參數(shù)
  -h [ --help ]                         Print this help message and exit.
  -d [ --data-dir ] arg (="witness_node_data_dir")
                                        Directory containing databases, 
                                        configuration file, etc.
                                        =>保存見證節(jié)點(diǎn)的數(shù)據(jù)庫夫偶,配置文件目錄

  --create-genesis-json arg             Path to create a Genesis State at. If a
                                        well-formed JSON file exists at the 
                                        path, it will be parsed and any missing
                                        fields in a Genesis State will be 
                                        added, and any unknown fields will be 
                                        removed. If no file or an invalid file 
                                        is found, it will be replaced with an 
                                        example Genesis State.
                                        =>創(chuàng)世狀態(tài)的json文件目錄界睁,如果json文件存在,就解析創(chuàng)世狀態(tài)兵拢,未知的節(jié)點(diǎn)將刪除翻斟。如果沒有文件存在或文件是不合法的。就會(huì)替換一個(gè)例子創(chuàng)世狀態(tài)

  --replay-blockchain                   Rebuild object graph by replaying all blocks
                                        =>重建所有圖说铃,通過重發(fā)區(qū)塊的方式
  --resync-blockchain                   Delete all blocks and re-sync with network from scratch
                                        =>刪除所有區(qū)塊访惜,重新在網(wǎng)絡(luò)同步
  --force-validate                      Force validation of all transactions
                                        =>強(qiáng)制驗(yàn)證所有交易
  --genesis-timestamp arg               Replace timestamp from genesis.json 
                                        with current time plus this many 
                                        seconds (experts only!)
                                        =>用當(dāng)前時(shí)間加上那么多秒,替換genesis.json的時(shí)間戳(僅專家使用)
  --p2p-endpoint arg                    Endpoint for P2P node to listen on
                                        =》p2p網(wǎng)絡(luò)監(jiān)聽節(jié)點(diǎn)腻扇,表示啟動(dòng)監(jiān)聽服務(wù)端ip端口
  -s [ --seed-node ] arg                P2P nodes to connect to on startup (may specify multiple times)
                                        =》p2p網(wǎng)絡(luò)啟動(dòng)時(shí)監(jiān)聽節(jié)點(diǎn)(可重復(fù)定義)债热,表示要連接的服務(wù)端ip端口
  --seed-nodes arg                      JSON array of P2P nodes to connect to on startup
                                        =》p2p網(wǎng)絡(luò)啟動(dòng)時(shí)監(jiān)聽節(jié)點(diǎn)的JSON數(shù)組,表示要連接的服務(wù)端ip端口
  -c [ --checkpoint ] arg               Pairs of [BLOCK_NUM,BLOCK_ID] that 
                                        should be enforced as checkpoints.
                                        =》應(yīng)該執(zhí)行檢查點(diǎn)
  --rpc-endpoint [=arg(=127.0.0.1:8090)]
                                        Endpoint for websocket RPC to listen on
                                        =》給延遲節(jié)點(diǎn)幼苛,錢包節(jié)點(diǎn)使用的的rpc地址端口
  --rpc-tls-endpoint [=arg(=127.0.0.1:8089)]
                                        Endpoint for TLS websocket RPC to 
                                        listen on
                                        =》啟動(dòng)安全的阳柔,給延遲節(jié)點(diǎn),錢包節(jié)點(diǎn)使用的的rpc地址端口
  -p [ --server-pem ] [=arg(=server.pem)]
                                        The TLS certificate file for this 
                                        server
                                        =》服務(wù)器證書
  -P [ --server-pem-password ] arg      Password for this certificate
                                        =》服務(wù)器密碼
  --genesis-json arg                    File to read Genesis State from
                                        =》創(chuàng)世狀態(tài)的json文件
  --dbg-init-key arg                    Block signing key to use for init  witnesses, overrides genesis file
                                        =》區(qū)塊簽名蚓峦,初始化見證節(jié)點(diǎn)舌剂,覆蓋創(chuàng)世文件
  --api-access arg                      JSON file specifying API permissions
                                        =》API權(quán)限描述JSON文件


Options for plugin witness:=》見證人參數(shù)
  --enable-stale-production             Enable block production, even if the  chain is stale.
                                        =>啟動(dòng)區(qū)塊生成济锄,即使鏈?zhǔn)桥f的
  --required-participation              Percent of witnesses (0-99) that must 
                                        be participating in order to produce 
                                        blocks
                                        =》產(chǎn)生區(qū)塊必須達(dá)到的見證人參與百分比
  -w [ --witness-id ] arg               ID of witness controlled by this node 
                                        (e.g. "1.6.5", quotes are required, may
                                        specify multiple times)
                                        =》見證人id,可重復(fù)定義
  --private-key arg (=["BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"])
                                        Tuple of [PublicKey, WIF private key] 
                                        (may specify multiple times)
                                         私鑰霍转,元組[公鑰荐绝,私鑰],可重復(fù)定義

Options for plugin account_history:=》賬戶歷史參數(shù)
  --track-account arg                   Account ID to track history for (may 
                                        specify multiple times)
                                        =》可追蹤歷史的賬戶ID避消,可重復(fù)定義
  --partial-operations arg              Keep only those operations in memory 
                                        that are related to account history 
                                        tracking
                                        =》在內(nèi)存中保存低滩,可追蹤歷史賬戶ID的操作
  --max-ops-per-account arg             Maximum number of operations per 
                                        account will be kept in memory
                                        =》每個(gè)賬戶在內(nèi)存中保存的最大操作個(gè)數(shù)

Options for plugin market_history:=》市場(chǎng)歷史參數(shù)
  --bucket-size arg (=[15,60,300,3600,86400])
                                        Track market history by grouping orders
                                        into buckets of equal size measured in 
                                        seconds specified as a JSON array of 
                                        numbers
                                        =》將訂單分組為相等大小的桶來跟蹤市場(chǎng)歷史記錄,每秒json數(shù)組的個(gè)數(shù)
  --history-per-size arg (=1000)        How far back in time to track history 
                                        for each bucket size, measured in the 
                                        number of buckets (default: 1000)
                                        =》可追蹤歷史的桶的個(gè)數(shù)岩喷,默認(rèn)1000個(gè)

二 config.ini分析

* p2p-endpoint
  Endpoint for P2P node to listen on=》p2p網(wǎng)絡(luò)監(jiān)聽節(jié)點(diǎn)服務(wù)器端配置恕沫,表示本地監(jiān)聽的ip端口
* seed-node
  P2P nodes to connect to on startup (may specify multiple times)=》p2p網(wǎng)絡(luò)啟動(dòng)連接節(jié)點(diǎn)客戶端配置,表示要連接的服務(wù)端ip端口
* checkpoint
  Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.=》檢查點(diǎn)
* rpc-endpoint
  Endpoint for websocket RPC to listen on (e.g. 0.0.0.0:8090)=》給延遲節(jié)點(diǎn)纱意,錢包節(jié)點(diǎn)使用的的rpc地址端口
* rpc-tls-endpoint
  Endpoint for TLS websocket RPC to listen on=》啟動(dòng)安全的婶溯,給延遲節(jié)點(diǎn),錢包節(jié)點(diǎn)使用的rpc地址端口
* server-pem
  The TLS certificate file for this server=》啟動(dòng)安全的證書
* server-pem-password
  Password for this certificate=》啟動(dòng)安全的證書密碼
* genesis-json
  File to read Genesis State from=》創(chuàng)世狀態(tài)json文件路徑
* api-access
  JSON file specifying API permissions=》api權(quán)限描述json文件
* enable-stale-production
  Enable block production, even if the chain is stale. (unless for private testnets should be false)=》啟動(dòng)區(qū)塊產(chǎn)生標(biāo)識(shí)偷霉,(隱私模式下應(yīng)設(shè)置為假)
* required-participation
  Percent of witnesses (0-99) that must be participating in order to produce blocks=》要求產(chǎn)生的區(qū)塊時(shí)迄委,見證人的必須達(dá)到的參與百分比
* allow-consecutive
  Allow block production, even if the last block was produced by the same witness.=》允許塊產(chǎn)生,甚至每一塊都是同一個(gè)見證人(允許連續(xù))
* witness-id
  ID of witness controlled by this node (e.g. “1.6.5”, quotes are required, may specify multiple times)=》見證人的ID(例如“1.6.5”,雙引號(hào)是必須的类少,可重復(fù)定義)
* private-key
  Tuple of [PublicKey, WIF private key] (may specify multiple times)=》私鑰(可重復(fù)定義)
* track-account
  Account ID to track history for (may specify multiple times)=》要追蹤歷史的賬戶ID(可重復(fù)定義)
* bucket-size
  Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers=》將訂單分組為相等大小的桶來跟蹤市場(chǎng)歷史記錄叙身,每秒json數(shù)組的個(gè)數(shù)
* history-per-size
  How far back in time to track history for each bucket size, measured in the number of buckets (default: 1000)=》可追蹤歷史的桶的個(gè)數(shù),默認(rèn)1000個(gè)
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末硫狞,一起剝皮案震驚了整個(gè)濱河市信轿,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌残吩,老刑警劉巖虏两,帶你破解...
    沈念sama閱讀 221,888評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異世剖,居然都是意外死亡定罢,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,677評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門旁瘫,熙熙樓的掌柜王于貴愁眉苦臉地迎上來祖凫,“玉大人,你說我怎么就攤上這事酬凳』菘觯” “怎么了?”我有些...
    開封第一講書人閱讀 168,386評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵宁仔,是天一觀的道長(zhǎng)稠屠。 經(jīng)常有香客問我,道長(zhǎng),這世上最難降的妖魔是什么权埠? 我笑而不...
    開封第一講書人閱讀 59,726評(píng)論 1 297
  • 正文 為了忘掉前任榨了,我火速辦了婚禮,結(jié)果婚禮上攘蔽,老公的妹妹穿的比我還像新娘龙屉。我一直安慰自己,他們只是感情好满俗,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,729評(píng)論 6 397
  • 文/花漫 我一把揭開白布转捕。 她就那樣靜靜地躺著,像睡著了一般唆垃。 火紅的嫁衣襯著肌膚如雪五芝。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 52,337評(píng)論 1 310
  • 那天辕万,我揣著相機(jī)與錄音枢步,去河邊找鬼。 笑死蓄坏,一個(gè)胖子當(dāng)著我的面吹牛价捧,可吹牛的內(nèi)容都是我干的丑念。 我是一名探鬼主播涡戳,決...
    沈念sama閱讀 40,902評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼脯倚!你這毒婦竟也來了渔彰?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,807評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤推正,失蹤者是張志新(化名)和其女友劉穎恍涂,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體植榕,經(jīng)...
    沈念sama閱讀 46,349評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡再沧,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,439評(píng)論 3 340
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了尊残。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片炒瘸。...
    茶點(diǎn)故事閱讀 40,567評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖寝衫,靈堂內(nèi)的尸體忽然破棺而出顷扩,到底是詐尸還是另有隱情,我是刑警寧澤慰毅,帶...
    沈念sama閱讀 36,242評(píng)論 5 350
  • 正文 年R本政府宣布隘截,位于F島的核電站,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏婶芭。R本人自食惡果不足惜东臀,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,933評(píng)論 3 334
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望雕擂。 院中可真熱鬧啡邑,春花似錦、人聲如沸井赌。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,420評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽仇穗。三九已至流部,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間纹坐,已是汗流浹背枝冀。 一陣腳步聲響...
    開封第一講書人閱讀 33,531評(píng)論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留耘子,地道東北人果漾。 一個(gè)月前我還...
    沈念sama閱讀 48,995評(píng)論 3 377
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像谷誓,于是被迫代替她去往敵國和親绒障。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,585評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容