PageSourceSearch

https://noders.services/assets/js/065f9e13.454b48a2.js

js noders.services collected 2026-10-04 06:51:17 UTC 14,764 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknoders_services=self.webpackChunknoders_services||[]).push([[5078],{68317:(e,a,n)=>{n.d(a,{A:()=>d});const d={baseInfo:{version:"v5.5.1",chainId:"lava-mainnet-1",chainName:"Lava",chainSystemName:"lava",iconUrl:"lava-icon.svg",scope:"mainnet"},install:{chainName:"Lava",chainIcon:"lava-icon.svg",chainId:"lava-mainnet-1",version:"v5.5.1",daemonName:"lavad",daemonHome:"~/.lava",daemonService:"lava.service",socialGithub:"https://github.com/lavanet",githubFolderName:"lava",chainSystemName:"lava",chainDenom:"ulava",chainFees:"20000",endpointPeer:"b2a26c39f564ee28778c2f3acdb51ab75a4f0a8c@lava-rpc.noders.services:19956",endpointRpc:"https://lava-rpc.noders.services"},publicEndpoints:{chainId:"lava-mainnet-1",primaryRpcUrl:"https://lava-rpc.noders.services",primaryApiUrl:"https://lava-api.noders.services",primaryGrpcUrl:"lava-grpc.noders.services:443",primaryJsonRpcUrl:""},snapshot:{snapshot_type:"consensus",snapshot_base_url:"https://snapshots.noders.services/mainnet/lava/",snap_latest_block:"5984051",snap_archive_name:"lava-5984051.tar.lz4",snap_archive_link:"https://snapshots.noders.services/mainnet/lava/lava-5984051.tar.lz4",snap_archive_download_command:"curl -o - -L https://snapshots.noders.services/mainnet/lava/lava-5984051.tar.lz4 | lz4 -d | tar -x -C ~/.lava",timestamp:"5h ago",size:"1.40 GB",snap_evm_latest_block:"-",snap_evm_archive_name:"",snap_evm_archive_link:"",snap_evm_download_command:"",snap_evm_timestamp:"-",snap_evm_size:"-",snap_evm_url:""},stateSync:{snapRpc:"https://lava-rpc.noders.services:443",latestHeight:"5985591",blockHeight:"5983591",trustHash:"42EFF1AC6DA3DE099777BC887FB9134B0173D36415C685DEE8F0EE50F65031CF",daemonName:"lavad",daemonHome:"~/.lava",endpointPeer:"b2a26c39f564ee28778c2f3acdb51ab75a4f0a8c@lava-rpc.noders.services:19956"},upgrade:{chainName:"Lava",chainIcon:"lava-icon.svg",chainId:"lava-mainnet-1",version:"v5.5.1",daemonName:"lavad",daemonHome:"~/.lava",daemonService:"lava.service",socialGithub:"https://github.com/lavanet",githubFolderName:"lava"},livePeers:{livePeersCount:"74",livePeersAll:"[email protected]:19956,[email protected]:26656,[email protected]:19956,[email protected]:19956,[email protected]:26656,[email protected]:26656,[email protected]:55676,[email protected]:20656,[email protected]:21656,[email protected]:27066,[email protected]:14456,[email protected]:56656,[email protected]:26656,[email protected]:26656,[email protected]:29656,[email protected]:26650,[email protected]:24656,[email protected]:56656,[email protected]:13556,[email protected]:26656,[email protected]:30756,bc221c0bfb055efb46c1fd9171fe1170208c2092@2a01:4f9:6b:476d::18:26656,[email protected]:26656,[email protected]:41004,[email protected]:26656,[email protected]:26656,[email protected]:29156,[email protected]:14456,[email protected]:11756,[email protected]:26656,[email protected]:26656,[email protected]:10356,dbcd
1[email protected]:28656,[email protected]:23656,[email protected]:26656,[email protected]:64656,[email protected]:31656,[email protected]:14456,[email protected]:14456,[email protected]:25656,[email protected]:10004,[email protected]:26656,[email protected]:35656,[email protected]:17756,[email protected]:14456,b81a92e02ca2f1d89ff179be669137ff589a0348@2001:bc8:1203:e::4:26656,[email protected]:197,[email protected]:28656,[email protected]:19956,[email protected]:26656,[email protected]:12056,[email protected]:30056,[email protected]:30701,[email protected]:26656,[email protected]:26656,[email protected]:29156,[email protected]:41004,[email protected]:26656,[email protected]:14456,[email protected]:26656,[email protected]:26656,[email protected]:27156,[email protected]:61056,[email protected]:26656,[email protected]:26656,[email protected]:31004,[email protected]:26716,[email protected]:26656,[email protected]:17756,[email protected]:37656,[email protected]:30656,[email protected]:26656,[email protected]:44656,[email protected]:11156",livePeersRandom:"[email protected]:19956,[email protected]:55676,[email protected]:41004,[email protected]:14456,[email protected]:29156",endpointSeed:"",endpointPeer:"b2a26c39f564ee28778c2f3acdb51ab75a4f0a8c@lava-rpc.noders.services:19956",daemonName:"lavad",daemonHome:"~/.lava",chainSystemName:"lava"},endpoints:{endpointRpc:"https://lava-rpc.noders.services",endpointApi:"https://lava-api.noders.services",endpointGrpc:"lava-grpc.noders.services:443",endpointJrpc:""},monitoring:{chainName:"Lava",chainSystemName:"lava",daemonName:"lavad",monitoringPrometheusPort:"9090",monitoringGrafanaPort:"3000",monitoringNodeMetricsPort:"26661",monitoringGrafanaPassword:"admin123",monitoringMaxMissedBlocks:"5"}}},72569:(e,a,n)=>{n.d(a,{A:()=>c});n(96540);var d=n(71765),s=n(74848);const c=function({code:e,language:a="bash"}){return(0,s.jsx)(d.f4,{code:e,theme:d.Zj.dracula,language:a,children:({className:e,style:a,tokens:n,getLineProps:d,getTokenProps:c})=>(0,s.jsx)("pre",{className:e,style:{...a,borderRadius:8,padding:"12px 16px",margin:0,fontSize:14,overflow:"auto"},children:n.map(((e,a)=>(0,s.jsx)("div",{...d({line:e,key:a}),children:e.map(((e,a)=>(0,s.jsx)("span",{...c({token:e,key:a})},a)))},a)))})})}},80042:(e,a,n)=>{n.r(a),n.d(a,{assets:()=>b,contentTitle:()=>l,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>f});
1const d=JSON.parse('{"id":"mainnet/lava/snapshot","title":"Node Snapshot","description":"","source":"@site/docs/mainnet/lava/snapshot.mdx","sourceDirName":"mainnet/lava","slug":"/mainnet/lava/snapshot","permalink":"/mainnet/lava/snapshot","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"title":"Node Snapshot","sidebar_position":3,"hide_title":true,"hide_table_of_contents":false,"description":""},"sidebar":"mainnetSidebar","previous":{"title":"Upgrade Guide","permalink":"/mainnet/lava/upgrade"},"next":{"title":"State Sync","permalink":"/mainnet/lava/statesync"}}');var s=n(74848),c=n(28453),t=n(66030),o=n(72569),i=n(68317);const r={title:"Node Snapshot",sidebar_position:3,hide_title:!0,hide_table_of_contents:!1,description:""},l=void 0,b={},f=[{value:"Our Lava Snapshot Server Setup",id:"our-lava-snapshot-server-setup",level:2},{value:"Snapshot Information",id:"snapshot-information",level:3},{value:"config.toml",id:"configtoml",level:3},{value:"How To Process Lava Snapsh
1ot",id:"how-to-process-lava-snapshot",level:2},{value:"Data",id:"data",level:3}];function h(e){const a={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.A,{iconUrl:`img/${i.A.baseInfo.iconUrl}`,title:`${i.A.baseInfo.chainName} Node Snapshot`,chainId:i.A.baseInfo.chainId,version:i.A.baseInfo.version}),"\n",(0,s.jsx)(a.h2,{id:"our-lava-snapshot-server-setup",children:"Our Lava Snapshot Server Setup"}),"\n",(0,s.jsx)(a.h3,{id:"snapshot-information",children:"Snapshot Information"}),"\n",(0,s.jsxs)(a.table,{children:[(0,s.jsx)(a.thead,{children:(0,s.jsxs)(a.tr,{children:[(0,s.jsx)(a.th,{children:"Block Height"}),(0,s.jsx)(a.th,{children:"Size"}),(0,s.jsx)(a.th,{children:"Last Snapshot"}),(0,s.jsx)(a.th,{children:"Download Link"})]})}),(0,s.jsx)(a.tbody,{children:(0,s.jsxs)(a.tr,{children:[(0,s.jsx)(a.td,{children:"5984051"}),(0,s.jsx)(a.td,{children:"1.40 GB"}),(0,s.jsx)(a.td,{children:"5h ago"}),(0,s.jsx)(a.td,{children:(0,s.jsx)(a.a,{href:"https://snapshots.noders.services/mainnet/lava/lava-5984051.tar.lz4",children:"Download"})})]})})]}),"\n",(0,s.jsx)(a.p,{children:"We take one node snapshot every day. We then delete all the previous snapshots to free up the space on the file server."}),"\n",(0,s.jsxs)(a.p,{children:["The snapshot is designed for node opeartors to run an efficient node on ",i.A.baseInfo.chainName," } chain. To make the snapshot as small as possible while still viable as a validator, we use the following setting to save on the disk space. It might be helpful for you to sync with our snapshot periodically because Tendermint chain storage grows over time regardless of the pruning. Since we periodically state-sync our snapshot nodes, you might notice that sometimes the size of our snapshot is surprisingly small."]}),"\n",(0,s.jsx)(o.A,{code:'# Prune Type\npruning = "custom"\n\n# Prune Strategy\npruning-keep-recent = "100"\npruning-keep-every = "0"\npruning-interval = "10"',language:"bash"}),"\n",(0,s.jsx)(a.h3,{id:"configtoml",children:"config.toml"}),"\n",(0,s.jsx)(o.A,{code:'indexer = "null"',language:"bash"}),"\n",(0,s.jsx)(a.h2,{id:"how-to-process-lava-snapshot",children:"How To Process Lava Snapshot"}),"\n",(0,s.jsx)(o.A,{code:"sudo apt update\nsudo apt install snapd -y\nsudo snap install lz4",language:"bash"}),"\n",(0,s.jsx)(a.p,{children:"Stop your node"}),"\n",(0,s.jsx)(o.A,{code:`sudo systemctl stop ${i.A.install?.daemonName||i.A.baseInfo.chainSystemName}`,language:"bash"}),"\n",(0,s.jsxs)(a.p,{children:["Reset your node. This will erase your node database. If you are already running validator, be sure you backed up your ",(0,s.jsx)(a.code,{children:"priv_validator_key.json"})," prior to running the command. The command does not wipe the file. However, you should have a backup of it already in a safe location."]}),"\n",(0,s.jsx)(a.admonition,{title:"WARNING",type:"warning",children:(0,s.jsxs)(a.p,{children:["If you use this snapshot on a validator node during a chain halt, make sure you back up ",(0,s.jsx)(a.code,{children:"priv_validator_state.json"})," and then replace it after the snapshot is extracted but before you start the node process. This is very important in order to avoid double-sign. When in doubt, reach out to the project team."]})}),"\n",(0,s.jsx)(o.A,{code:`# Back up priv_validator_state.json if needed\ncp ${i.A.install?.daemonHome||i.A.baseInfo.chainSystemName}/data/priv_validator_state.json  ${i.A.install?.daemonHome||i.A.baseInfo.chainSystemName}/priv_validator_state.json\n\ncd $HOME\nsudo rm -rf ${i.A.install?.daemonHome||i.A.baseInfo.chainSystemName}/data`,language:"bash"}),"\n",(0,s.jsxs)(a.p,{children:["Decompress the snapshot to your database location. Your database location will normally be ",(0,s.jsx)(a.code,{children:"~/.lava"}),"."]}),"\n",(0,s.jsx)(a.p,{children:"The above solution requires you to download the compressed file, uncompressed it and then delete the original file. This requires extra storage space on your server. You can run the following combo command to stream the snapshot into your database location. For advanced users only:"}),"\n",(0,s.jsx)(a.h3,{id:"data",children:"Data"}),"\n",(0,s.jsx)(o.A,{code:`${i.A.snapshot?.snap_archive_download_command||""}`,language:"bash"}),"\n",(0,s.jsx)(a.admonition,{title:"WARNING",type:"warning",children:(0,s.jsxs)(a.p,{children:["If you run a validator node and the chain is in halt, it is time to replace the ",(0,s.jsx)(a.code,{children:"priv_validator_state.json"})," file that you have backed up."]})}),"\n",(0,s.jsx)(o.A,{code:`# Replace with the backed-up priv_validator_state.json\ncp ${i.A.install?.daemonHome||i.A.baseInfo.chainSystemName}/priv_validator_state.json  ${i.A.install?.daemonHome||i.A.baseInfo.chainSystemName}/data/priv_validator_state.json`,language:"bash"}),"\n",(0,s.jsx)(a.p,{children:"If everything is good, now restart your node\nMake sure that your node is running"}),"\n",(0,s.jsx)(o.A,{code:`sudo systemctl restart ${i.A.install?.daemonName||i.A.baseInfo.chainSystemName}\nsudo journalctl -fu ${i.A.install?.daemonName||i.A.baseInfo.chainSystemName} --no-hostname -o cat`,language:"bash"}),"\n",(0,s.jsx)(a.admonition,{title:"ADVANCED ROUTE",type:"info",children:(0,s.jsxs)(a.p,{children:["We also have ",i.A.baseInfo.chainName," } state-sync service to help you bootstrap a node."]})})]})}function p(e={}){const{wrapper:a}={...(0,c.R)(),...e.components};return a?(0,s.jsx)(a,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.