[{"data":1,"prerenderedAt":727},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-tech\u002Fbeam-fierce-fermion-6.0-upgrade-guide-for-pools-and-exchanges":3,"docs-surround-\u002Fdocs\u002Fcore-tech\u002Fbeam-fierce-fermion-6.0-upgrade-guide-for-pools-and-exchanges":717},{"id":4,"title":5,"body":6,"description":16,"extension":709,"image":710,"meta":711,"navTitle":710,"navigation":712,"path":713,"seo":714,"stem":715,"__hash__":716},"docs\u002Fdocs\u002Fcore-tech\u002FBeam-Fierce-Fermion-6.0-Upgrade-Guide-for-pools-and-exchanges.md","Beam Fierce Fermion 6.0 Upgrade Guide for pools and exchanges",{"type":7,"value":8,"toc":705},"minimark",[9,13,17,22,116,120,126,136,701],[10,11,5],"h1",{"id":12},"beam-fierce-fermion-60-upgrade-guide-for-pools-and-exchanges",[14,15,16],"p",{},"Beam Fierce Fermion 6.0 includes breaking Hard Fork that will be activated on height 1,280,000 (around 15:30 UTC, 13th of June 2021). It is important to complete all upgrade before that date.",[18,19,21],"h2",{"id":20},"what-new-in-version-60","What new in version 6.0",[23,24,25,29,39,60,79,92],"ol",{},[26,27,28],"li",{},"Smart contracts.",[26,30,31,32],{},"Confidential Assets support in wallet API. Read more ",[33,34,38],"a",{"href":35,"rel":36},"https:\u002F\u002Fgithub.com\u002FBeamMW\u002Fbeam\u002Fwiki\u002FAdding-support-for-Beam-Confidential-Asset",[37],"nofollow","here",[26,40,41,42,51,54,55,59],{},"New types of transaction are available in the wallet API:",[43,44,45,48],"ul",{},[26,46,47],{},"Maximum privacy transaction",[26,49,50],{},"Offline transaction",[52,53],"br",{},"In order to receive these transactions, there are no need to make any changes in code, but your wallet should be connected to the node with ",[56,57,58],"code",{},"owner_key",". If you want to send them you have to explicitly enable them in the wallet, and distinguish new address types.",[26,61,62,63],{},"New address types in wallet API. We highly recommend to use these new addresses, this should bring better user experience both for sending and receiving. For backward compatibility, we preserved old address type.\nThe difference between new addresses and old are the following",[43,64,65,76],{},[26,66,67,68,71,72,75],{},"new addresses are ",[56,69,70],{},"base58"," encoded and have relatively long, old addresses are ",[56,73,74],{},"hex"," encoded and have length 64-67 characters",[26,77,78],{},"new addresses can hold additional data for transaction, this allows us to make new type of transactions mentioned before and add more when it will be needed",[26,80,81,82],{},"Starting from 6.0 Beam address should be validated using the following regular expression:",[83,84,89],"pre",{"className":85,"code":87,"language":88},[86],"language-text","\u002F[0-9a-zA-Z]{64,500}\u002F\n","text",[56,90,87],{"__ignoreMap":91},"",[26,93,94,95],{},"Minimal fee has changed",[43,96,97,105],{},[26,98,99,100,104],{},"For the ",[101,102,103],"em",{},"regular"," transaction has been increased up to 100,000 Groth",[26,106,107,108,111,112,115],{},"For ",[101,109,110],{},"offline"," and ",[101,113,114],{},"max privacy"," transaction it became 1,100,000 Groth (+1,000,000 Groth for each shielded output)",[18,117,119],{"id":118},"upgrading-the-node-and-the-wallet","Upgrading the node and the wallet",[121,122,123],"blockquote",{},[14,124,125],{},"IMPORTANT",[14,127,128,129,111,132,135],{},"Before starting the upgrade procedure it is highly recommended to stop the wallets and back up the ",[101,130,131],{},"wallet.db",[101,133,134],{},"node.db"," files.",[23,137,138,151,158,540,551,674],{},[26,139,140,141,145,146],{},"Download the new binaries from ",[33,142,144],{"href":143},"\u002Fdownloads","Beam Website"," or build from ",[33,147,150],{"href":148,"rel":149},"https:\u002F\u002Fgithub.com\u002FBeamMW\u002Fbeam\u002Ftree\u002Fmainnet",[37],"source",[26,152,153,157],{},[33,154,156],{"href":35,"rel":155},[37],"Enable"," CA support if needed",[26,159,160,161,164,165,167,170,304,371,373,374,376,377,379,380,382,383,385,386,389],{},"Update address verification. Now, ",[56,162,163],{},"validate_address"," method returns additional info about address:",[52,166],{},[56,168,169],{},"\u003C--",[83,171,175],{"className":172,"code":173,"language":174,"meta":91,"style":91},"language-json shiki shiki-themes github-dark","{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 1,\n    \"result\" : \n    {\n        \"is_valid\" : true,\n        \"is_mine\" : false,\n        \"type\": \"offline\",  \u002F\u002F \u003C---------- NEW\n        \"payments\": 3       \u002F\u002F \u003C---------- NEW\n    }\n}\n","json",[56,176,177,186,203,218,227,233,247,260,278,292,298],{"__ignoreMap":91},[178,179,182],"span",{"class":180,"line":181},"line",1,[178,183,185],{"class":184},"s95oV","{\n",[178,187,189,193,196,200],{"class":180,"line":188},2,[178,190,192],{"class":191},"sDLfK","    \"jsonrpc\"",[178,194,195],{"class":184},":",[178,197,199],{"class":198},"sU2Wk","\"2.0\"",[178,201,202],{"class":184},", \n",[178,204,206,209,212,215],{"class":180,"line":205},3,[178,207,208],{"class":191},"    \"id\"",[178,210,211],{"class":184},": ",[178,213,214],{"class":191},"1",[178,216,217],{"class":184},",\n",[178,219,221,224],{"class":180,"line":220},4,[178,222,223],{"class":191},"    \"result\"",[178,225,226],{"class":184}," : \n",[178,228,230],{"class":180,"line":229},5,[178,231,232],{"class":184},"    {\n",[178,234,236,239,242,245],{"class":180,"line":235},6,[178,237,238],{"class":191},"        \"is_valid\"",[178,240,241],{"class":184}," : ",[178,243,244],{"class":191},"true",[178,246,217],{"class":184},[178,248,250,253,255,258],{"class":180,"line":249},7,[178,251,252],{"class":191},"        \"is_mine\"",[178,254,241],{"class":184},[178,256,257],{"class":191},"false",[178,259,217],{"class":184},[178,261,263,266,268,271,274],{"class":180,"line":262},8,[178,264,265],{"class":191},"        \"type\"",[178,267,211],{"class":184},[178,269,270],{"class":198},"\"offline\"",[178,272,273],{"class":184},",  ",[178,275,277],{"class":276},"sAwPA","\u002F\u002F \u003C---------- NEW\n",[178,279,281,284,286,289],{"class":180,"line":280},9,[178,282,283],{"class":191},"        \"payments\"",[178,285,211],{"class":184},[178,287,288],{"class":191},"3",[178,290,291],{"class":276},"       \u002F\u002F \u003C---------- NEW\n",[178,293,295],{"class":180,"line":294},10,[178,296,297],{"class":184},"    }\n",[178,299,301],{"class":180,"line":300},11,[178,302,303],{"class":184},"}\n",[43,305,306,362],{},[26,307,308,311,312],{},[56,309,310],{},"type"," the type of address, possible values are",[43,313,314,322,333,344,354],{},[26,315,316,318,319,321],{},[56,317,103],{}," - regular old-style ",[56,320,74],{}," encoded address, default",[26,323,324,326,327,329,330,332],{},[56,325,110],{}," - new-style ",[56,328,70],{}," encoded address for ",[101,331,110],{}," transaction, could be used several times, it has no strong guaranties for privacy",[26,334,335,326,338,329,340,343],{},[56,336,337],{},"max_privacy",[56,339,70],{},[101,341,342],{},"maximum privacy"," transaction, could be used once",[26,345,346,326,349,329,351,353],{},[56,347,348],{},"public_offline",[56,350,70],{},[101,352,110],{}," transaction, it's constant, it provided less privacy, you could publish it, designed for donations",[26,355,356,326,359,361],{},[56,357,358],{},"regular_new",[56,360,70],{}," encoded address for regular mimblewimble transaction",[26,363,364,367,368,370],{},[56,365,366],{},"payments"," - the number of payments left in case of ",[56,369,110],{}," address",[52,372],{},"If you don't want to support newer type of transactions you could simply allow ",[56,375,103],{}," addresses.",[52,378],{},"NOTE: ",[56,381,110],{}," address has all the data to make ",[101,384,103],{}," online transaction using MimbleWimble protocol. You can make both type of transaction using this type of address. If you want to send regular online transaction you should pass ",[56,387,388],{},"offline: false",[83,390,392],{"className":172,"code":391,"language":174,"meta":91,"style":91},"{\n    \"jsonrpc\":\"2.0\", \n    \"id\": 2,\n    \"method\":\"tx_send\", \n    \"params\":\n    {\n        \"value\": 12342342,\n        \"fee\": 2,\n        \"from\": \"472e17b0419055ffee3b3813b98ae671579b0ac0dcd6f1a23b11a75ab148cc67\",\n        \"address\": \"2DWjfstQoaLMYYgvc4NBTTGqRdyM3nvWxP9bDHN....\",  \u002F\u002F \u003C-- offline address \n        \"comment\": \"thank you!\",\n        \"asset_id\": 1,\n        \"offline\": false   \u002F\u002F \u003C-- make regular online payment\n    }\n}\n\n",[56,393,394,398,408,419,431,439,443,455,466,478,493,505,517,530,535],{"__ignoreMap":91},[178,395,396],{"class":180,"line":181},[178,397,185],{"class":184},[178,399,400,402,404,406],{"class":180,"line":188},[178,401,192],{"class":191},[178,403,195],{"class":184},[178,405,199],{"class":198},[178,407,202],{"class":184},[178,409,410,412,414,417],{"class":180,"line":205},[178,411,208],{"class":191},[178,413,211],{"class":184},[178,415,416],{"class":191},"2",[178,418,217],{"class":184},[178,420,421,424,426,429],{"class":180,"line":220},[178,422,423],{"class":191},"    \"method\"",[178,425,195],{"class":184},[178,427,428],{"class":198},"\"tx_send\"",[178,430,202],{"class":184},[178,432,433,436],{"class":180,"line":229},[178,434,435],{"class":191},"    \"params\"",[178,437,438],{"class":184},":\n",[178,440,441],{"class":180,"line":235},[178,442,232],{"class":184},[178,444,445,448,450,453],{"class":180,"line":249},[178,446,447],{"class":191},"        \"value\"",[178,449,211],{"class":184},[178,451,452],{"class":191},"12342342",[178,454,217],{"class":184},[178,456,457,460,462,464],{"class":180,"line":262},[178,458,459],{"class":191},"        \"fee\"",[178,461,211],{"class":184},[178,463,416],{"class":191},[178,465,217],{"class":184},[178,467,468,471,473,476],{"class":180,"line":280},[178,469,470],{"class":191},"        \"from\"",[178,472,211],{"class":184},[178,474,475],{"class":198},"\"472e17b0419055ffee3b3813b98ae671579b0ac0dcd6f1a23b11a75ab148cc67\"",[178,477,217],{"class":184},[178,479,480,483,485,488,490],{"class":180,"line":294},[178,481,482],{"class":191},"        \"address\"",[178,484,211],{"class":184},[178,486,487],{"class":198},"\"2DWjfstQoaLMYYgvc4NBTTGqRdyM3nvWxP9bDHN....\"",[178,489,273],{"class":184},[178,491,492],{"class":276},"\u002F\u002F \u003C-- offline address \n",[178,494,495,498,500,503],{"class":180,"line":300},[178,496,497],{"class":191},"        \"comment\"",[178,499,211],{"class":184},[178,501,502],{"class":198},"\"thank you!\"",[178,504,217],{"class":184},[178,506,508,511,513,515],{"class":180,"line":507},12,[178,509,510],{"class":191},"        \"asset_id\"",[178,512,211],{"class":184},[178,514,214],{"class":191},[178,516,217],{"class":184},[178,518,520,523,525,527],{"class":180,"line":519},13,[178,521,522],{"class":191},"        \"offline\"",[178,524,211],{"class":184},[178,526,257],{"class":191},[178,528,529],{"class":276},"   \u002F\u002F \u003C-- make regular online payment\n",[178,531,533],{"class":180,"line":532},14,[178,534,297],{"class":184},[178,536,538],{"class":180,"line":537},15,[178,539,303],{"class":184},[26,541,542,543,548,550],{},"regex for the newer address is:",[83,544,546],{"className":545,"code":87,"language":88},[86],[56,547,87],{"__ignoreMap":91},[52,549],{},"it allows both old-style and new-style addresses.",[26,552,553,554,557,558,561,562,564,567,661,663,664,666,667,669,670,673],{},"in order to generate new-style address pass ",[56,555,556],{},"\"type\""," parameter to ",[56,559,560],{},"create_address"," method",[52,563],{},[56,565,566],{},"-->",[83,568,570],{"className":172,"code":569,"language":174,"meta":91,"style":91},"{\n    \"jsonrpc\" : \"2.0\", \n    \"id\" : 1,\n    \"method\" : \"create_address\", \n    \"params\" :\n    {\n        \"type\": \"max_privacy\",  \u002F\u002F \u003C----- NEW\n        \"expiration\" : \"auto\",\n        \"comment\" : \"John Smith\"\n    }\n}\n",[56,571,572,576,586,596,607,614,618,632,644,653,657],{"__ignoreMap":91},[178,573,574],{"class":180,"line":181},[178,575,185],{"class":184},[178,577,578,580,582,584],{"class":180,"line":188},[178,579,192],{"class":191},[178,581,241],{"class":184},[178,583,199],{"class":198},[178,585,202],{"class":184},[178,587,588,590,592,594],{"class":180,"line":205},[178,589,208],{"class":191},[178,591,241],{"class":184},[178,593,214],{"class":191},[178,595,217],{"class":184},[178,597,598,600,602,605],{"class":180,"line":220},[178,599,423],{"class":191},[178,601,241],{"class":184},[178,603,604],{"class":198},"\"create_address\"",[178,606,202],{"class":184},[178,608,609,611],{"class":180,"line":229},[178,610,435],{"class":191},[178,612,613],{"class":184}," :\n",[178,615,616],{"class":180,"line":235},[178,617,232],{"class":184},[178,619,620,622,624,627,629],{"class":180,"line":249},[178,621,265],{"class":191},[178,623,211],{"class":184},[178,625,626],{"class":198},"\"max_privacy\"",[178,628,273],{"class":184},[178,630,631],{"class":276},"\u002F\u002F \u003C----- NEW\n",[178,633,634,637,639,642],{"class":180,"line":262},[178,635,636],{"class":191},"        \"expiration\"",[178,638,241],{"class":184},[178,640,641],{"class":198},"\"auto\"",[178,643,217],{"class":184},[178,645,646,648,650],{"class":180,"line":280},[178,647,497],{"class":191},[178,649,241],{"class":184},[178,651,652],{"class":198},"\"John Smith\"\n",[178,654,655],{"class":180,"line":294},[178,656,297],{"class":184},[178,658,659],{"class":180,"line":300},[178,660,303],{"class":184},[52,662],{},"The values for ",[56,665,556],{}," parameter are the same as described earlier. If you don't specify ",[56,668,556],{}," ",[56,671,672],{},"\"regular\""," is used by default to keep backward compatibility.",[26,675,676,677,111,679,681,682,685,686,692,694,695],{},"If you want to send to ",[101,678,110],{},[101,680,114],{}," addresses run API with ",[56,683,684],{},"--enable_lelantus",".",[83,687,690],{"className":688,"code":689,"language":88},[86],".\u002Fwallet-api --enable_lelantus -n \u003Cnode address>\n",[56,691,689],{"__ignoreMap":91},[52,693],{},"or specify it in config file",[83,696,699],{"className":697,"code":698,"language":88},[86],"enable_lelantus=true\n",[56,700,698],{"__ignoreMap":91},[702,703,704],"style",{},"html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":91,"searchDepth":188,"depth":188,"links":706},[707,708],{"id":20,"depth":188,"text":21},{"id":118,"depth":188,"text":119},"md",null,{},true,"\u002Fdocs\u002Fcore-tech\u002Fbeam-fierce-fermion-6.0-upgrade-guide-for-pools-and-exchanges",{"title":5,"description":16},"docs\u002Fcore-tech\u002FBeam-Fierce-Fermion-6.0-Upgrade-Guide-for-pools-and-exchanges","GZubr9f0QKXlPuPG0ugeM4rxgaINIWvEyWCNGUnLpEk",[718,722],{"title":719,"path":720,"stem":721,"description":91,"children":-1},"Beam Equihash specification","\u002Fdocs\u002Fcore-tech\u002Fbeam-equihash-specification","docs\u002Fcore-tech\u002FBeam-Equihash-specification",{"title":723,"path":724,"stem":725,"description":726,"children":-1},"Beam Node Explorer API","\u002Fdocs\u002Fcore-tech\u002Fbeam-node-explorer-api","docs\u002Fcore-tech\u002FBeam-Node-Explorer-API","The Node Explorer provides information about current chain state and blocks.",1783006058041]