Crypto currency/All About Ripple

codius 명령어

MDBK 2018. 6. 13. 05:18
반응형

생각 나는대로 틈틈히 업데이트 하겠습니다.


코디어스 버전 보기

npm view codiusd version

npm list -g | grep codius

둘중 어느걸 사용하셔도 버전보여 줍니다.



현재 열려있는 페이먼트 채널 보기

moneyd xrp:info


열려있는 페이먼트 채널 닫기 (닫을수 있게 되는데 한시간 걸립니다.)

moneyd xrp:cleanup


현재 열려있는 컨트랙트 보기

hyperctl list


코디어스 버전 보기

내주소/version

{"name":"Codiusd (JavaScript)","version":"1.1.0"}


코디어스 서버 정보 보기

내주소/info

{"fullMem":false,"serverUptime":609359,"serviceUptime":1477.727,"avgLoad":0.74951171875,"numPeers":187,"currency":"XRP","costPerMonth":10,"uri":"https://c0.xrp.mdbk.casa","runningContracts":0}

코디어스 피어보기

내주소/peers

1.1.0 버전으로 업데이트후 전체 피어 보여주는걸로 바뀌었나 봅니다.

{"peers":["https://codius.justmoon.com","https://codius.andros-connector.com","https://codius.africa","https://codius.risky.business","https://codius.feraltc.com","https://codius.tinypolarbear.com","https://codius0.codius-host.net","https://codius.thinwolf.com","https://codius1.codius-host.net","https://codius.rppl.info","https://codius.tbraes.com","https://codius1.logics.uk","https://codius.tic.news","https://codius1.speedtick.com","https://codius.ilptaro.work","https://codius.fungkwokpan.art","https://codius501.codeimpact.com","https://codius.mancel.io","https://host1.codiusasia.com","https://codius.brno.tech","https://zodius.arhitektura-music.com","https://codius-1.kuix.hu","https://c2.vuuh.com","https://codius.zerpgames.com","https://host.codius.stream","https://codius1.zigamode.com","https://codius.zionxrp.ovh","https://codius.codiusx.com","https://codius1.hackyard.se","https://codius.wigchert.net","https://codius1.dvdroest.nl","https://codius.pvs.com.cy","https://codius.xrptoken.de","https://host.codiusnow.com","https://codius.theogravity.com","https://codius1.pragmams.it","https://codius1.rabbitkick.club","https://codius.salmonpool.org","https://codius.bearsoft.pl","https://x1.codiushost.com","https://n1.codiusbg.cf","https://codius-ksgman2.ksgman.com","https://ch1.codius.com.au","https://codius.buildsmarthome.com","https://codius.legacymode.com","https://codius.all4y.net","https://codius.kka72.com","https://codius.xrpcodius.com","https://codius.rete-it.ch","https://codius.roostermuscle.net","https://codius.tickrate.nl","https://codius1.ventibean.com","https://codius.clutchbeyers.com","https://codius.doark.se","https://codius.internos.be","https://codius.stemtrees.com","https://codius1.rapidsmartcontracts.com","https://civita.io","https://codius.denarioresearch.xyz","https://codius1.cryptoseeker.net","https://kodius.scheetz.io","https://codius.cryptanite.com","https://c1.vuuh.com","https://codius-i0.floatis.com","https://codius.logancodius.xyz","https://codius.outline.vc","https://codius1.dynu.net","https://codius.mdbk.casa","https://codius1.chosts.de","https://codius.merchantman.space","https://node01-5ec87a0b.thecodiusfarm.com","https://cdus.dynns.com","https://codius.airblowr.com","https://host1.codius.live","https://codius.slapjob.com","https://node0.codius.systems","https://codius0.ventibean.com","https://codius.veuron.net","https://node1.codius.pw","https://codius.hostius.org","https://host1.codiuscontracts.co.uk","https://maytheschwartzbewithyou.xrpcodiushost.com","https://c4.vuuh.com","https://codius.dadadollar.com","https://codius.pearpetual.com","https://codius01.mycodius.com","https://codius.wellekens.be","https://codius01.chainsmarts.io","https://c3.vuuh.com","https://codius1.zerpgames.com","https://codiusmofo.xrpmofo.ca","https://c5.vuuh.com","https://c6.vuuh.com","https://c7.vuuh.com","https://codius1.seasonedlogic.com","https://codius2.chosts.de","https://janus.codius.space","https://codius.msbuild.net","https://c8.vuuh.com","https://codius-2.kuix.hu","https://codius.gloriousxrp.tk","https://codius.pro-mine.net","https://codius.elmurci.com","https://codius.dizerpro.io","https://codius.holosha.com","https://codius.platinumsmartcontracts.com","https://codius1.stefanosdemetriou.com","https://1.codius.ca","https://codius.interledger.ventures","https://codius.xrphosts.com","https://codius2.fibercloud.be","https://codius.codiusxrp.net","https://codius.stevie.site","https://codius101.trustedcode.xyz","https://codius.automoebel.at","https://codius.barri.club","https://codius.xrpthefuture.com","https://codiuscluster1.fibercloud.be","https://codius.djondb.nl","https://codius.rsamail.ru","https://codius.eberail.com","https://codius1.xrpnetwork.info","https://codiuscluster2.fibercloud.be","https://host1.codiushost.io","https://validator1.ripplexrp.network","https://home.codiusinfo.nl","https://auscodius.com","https://codius001.honeymonster11.co.uk","https://codius.distrius.com","https://codius.tovineko.xyz","https://server1.xrpcodius1.com","https://tothemoon.xrppartner.com","https://codius.mmstt.com","https://codius.xaoilin.co.uk","https://cbr3.itcobras.com","https://codius.scserver.host","https://codius-amen.capitalistpigmotorsports.com","https://codius.xrp.ninja","https://host.codiushost.io","https://codius.xrpious.com","https://node1.endriumac.co.uk","https://codius2.internos.be","https://codius.foxsight.be","https://codius1.codiusxrp.com","https://codius.xrp.camp","https://codius.pouleur.com","https://codius-myuri.codius-myuri.info","https://codius.xrphilippines.com","https://codius.rippleitin.nz","https://codius1.codius-france.fr","https://xrpcodius.co.uk","https://codius2.justmoon.com","https://codius.flardryn.com","https://c01.codiustransfer.com","https://cobalt.ripplespot.nl","https://cbr1.itcobras.com","https://codius.codiusd.xyz","https://codius.ripple-ledger.com","https://codius.cinnapple.fun","https://faster-than-getting-on-plane-with-suitcase-of-money.brno.tech","https://node1.codiushost.eu","https://c1.jerryluyk.com","https://codius.codiusx.io","https://codius.paulopires.net","https://codius2.denarioresearch.xyz","https://cbr2.itcobras.com","https://erichome22.asuscomm.com","https://codius.eastwestcodius.info","https://codius.foxrp.org","https://codius1.bialekhosting.com.au","https://codius.jeffreyabrown.com","https://codiuspanda.pandacrn.site","https://codius2.bialekhosting.com.au","https://codiuspanda01.pandacrn.site","https://sargon.undo.it","https://codius.pollewobs.com","https://codius.bollius.com","https://codius.howierh.com","https://codius1.zerpcentral.info","https://codius-ksgman1.ksgman.com","https://codius2.codiusmoon.com","https://codius.sneakyfish5.xyz","https://codius-ksgman3.ksgman.com","https://codius.peerisland.com","https://codius.nongdan.work","https://codius1.weberbot.com","https://codius.ledgerfox.net"]}

코디어스 환경 설정

텍스트 에디터로 /etc/systemd/system/codiusd.service 열어서 아래 내용들을 입력해 주면 적용됩니다.

아래 내용들 저장후

systemctl daemon-reload

systemctl restart codiusd

위 두가지 명령을 꼭 실행해주셔야 바꾼 설정이 적용됩니다.


코디어스 메모리 가용량 설정

Environment="CODIUS_MAX_MEMORY_FRACTION=0.95" 추가

전체 가용 메모리중 95%를 코디어스가 사용가능하도록 설정

8기가 라면 8 x 0.95 = 7.6 기가 까지 코디어스가 사용가능


코디어스 info 페이지에 현재 돌리는 계약 숫자 보여주기

Environment="CODIUS_ADDITIONAL_HOST_INFO=true" 추가

추가후 내주소/info 로 들어가면 "runningContracts": 가 마지막에 추가되서 나옵니다.


코디어스 계약 금액 변경

Environment="COST_PER_MONTH=10"

매달 계약금액(사용료) 10xrp 로 설정 가격을 바꾸면 바꾸는데로 info 페이지에 표시됩니다.