门罗币(XMR)锁定转账攻击细节分析

By:ISME/img/20230516004350073269/1.jpg "/>

门罗币开发基金收到 1711 枚门罗币捐款:门罗币(Monero)表示其开发基金(GeneralFund)收到了1711枚门罗币捐款,价值约为50万美元。[2021/6/7 23:16:56]

文章链接:

https://hackerone.com/reports/417515

附:以下内容为官方文档摘录

get_transfers

Returnsalistoftransfers.

Alias:?None.

Inputs:

in?-boolean;??(Optional)Includeincomingtransfers.

out?-boolean;??(Optional)Includeoutgoingtransfers.

pending?-boolean;??(Optional)Includependingtransfers.

failed?-boolean;??(Optional)Includefailedtransfers.

pool?-boolean;??(Optional)Includetransfersfromthedaemon'stransactionpool.

filter_by_height?-boolean;??(Optional)Filtertransfersbyblockheight.

min_height?-unsigned??int;(Optional)Minimumblockheighttoscanfortransfers,iffiltering??byheightisenabled.

max_height?-unsigned??int;(Opional)Maximumblockheighttoscanfortransfers,iffilteringby??heightisenabled(defaultstomaxblockheight).

account_index?-unsigned??int;(Optional)Indexoftheaccounttoqueryfortransfers.(defaultsto??0)

subaddr_indices?-arrayof??unsignedint;(Optional)Listofsubaddressindicestoqueryfor??transfers.(Defaultstoempty-allindices)

Outputs:

in?arrayof??transfers:

address?-string;???Publicaddressofthetransfer.

amount?-unsigned???int;Amounttransferred.

confirmations?-???unsignedint;Numberofblockminedsincetheblockcontainingthis???transaction(orblockheightatwhichthetransactionshouldbeaddedto???ablockifnotyetconfirmed).

double_spend_seen?-???boolean;Trueifthekeyimage(s)forthetransferhavebeenseenbefore.

门罗币日交易量首次突破2万笔:数据显示,今日门罗币日交易量达到20136笔,日交易量首次突破2万笔,而在一天前,门罗币交易量达到了比特币交易量的7%以上。[2020/10/13]

fee?-???unsignedint;Transactionfeeforthistransfer.

height?-???unsignedint;Heightofthefirstblockthatconfirmedthistransfer(0???ifnotminedyet).

note?-string;???Noteaboutthistransfer.

payment_id?-string;???PaymentIDforthistransfer.

subaddr_index?-JSON???objectcontainingthemajor&minorsubaddressindex:

major?-???unsignedint;Accountindexforthesubaddress.

minor?-???unsignedint;Indexofthesubaddressundertheaccount.

suggested_confirmations_threshold?-???unsignedint;Estimationoftheconfirmationsneededforthetransaction???tobeincludedinablock.

timestamp?-???unsignedint;POSIXtimestampforwhenthistransferwasfirstconfirmed???inablock(ortimestampsubmissionifnotminedyet).

txid?-string;???TransactionIDforthistransfer.

type?-string;???Transfertype:"in"

unlock_time?-unsignedint;Numberofblocksuntiltransferissafely???spendable.

out?arrayof??transfers(seeabove).

pending?arrayof??transfers(seeabove).

failed?arrayof??transfers(seeabove).

pool?arrayoftransfers(seeabove).

Example:

$curl-XPOSThttp://127.0.0.1:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_transfers","params":{"in":true,"account_index":1}}'-H'Content-Type:application/json'

{

"id":"0",

"jsonrpc":"2.0",

"result":{

"in":[{

"address":"77Vx9cs1VPicFndSVgYUvTdLCJEZw9h81hXLMYsjBCXSJfUehLa9TDW3Ffh45SQa7xb6dUs18mpNxfUhQGqfwXPSMrvKhVp",

前门罗币首席开发者:Gas费用再次高得离谱:前Monero(门罗币)首席开发者和隐私倡导者Riccardo Spagni发推称,ETH的gas费用又涨到了离谱的水平。仅仅发送一笔简单的ETH交易就要花费3.2美元,除非你想等一个小时。注:受Uniswap治理代币UNI空投活动的推动,以太坊gas费用一度飙涨至500 Gwei甚至更高。[2020/9/17]

"amount":200000000000,

"confirmations":1,

"double_spend_seen":false,

"fee":21650200000,

"height":153624,

"note":"",

"payment_id":"0000000000000000",

"subaddr_index":{

"major":1,

"minor":0

},

"suggested_confirmations_threshold":1,

"timestamp":1535918400,

"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a",

"type":"in",

"unlock_time":0

}]

}

}

get_payments

Getalistofincomingpaymentsusingagivenpaymentid.

Alias:?None.

Inputs:

payment_id?-string;??PaymentIDusedtofindthepayments(16charactershex).

Outputs:

payments?-listof:

payment_id?-string;???PaymentIDmatchingtheinputparameter.

tx_hash?-string;???TransactionhashusedasthetransactionID.

amount?-unsigned???int;Amountforthispayment.

block_height?-???unsignedint;Heightoftheblockthatfirstconfirmedthispayment.

unlock_time?-unsignedint;Time(inblockheight)until???thispaymentissafetospend.

subaddr_index?-???subaddressindex:

major?-unsigned???int;Accountindexforthesubaddress.

minor?-???unsignedint;Indexofthesubaddressintheaccount.

address?-string;???Addressreceivingthepayment;Base58representationofthepublickeys.

腾讯御见:数万台MSSQL服务器遭入侵沦为门罗币矿机:腾讯安全威胁情报中心检测到针对MSSQL服务器攻击的挖矿木马,该挖矿木马主要针对MS SQL服务进行爆破弱口令攻击,爆破成功后会植入门罗币挖矿木马进行挖矿。从挖矿木马的HFS服务器计数看,已有上万台MSSQL服务器被植入挖矿木马,另有数十台服务器被安装后门。[2020/7/29]

Example:

$curl-XPOSThttp://127.0.0.1:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_payments","params":{"payment_id":"60900e5603bf96e3"}}'-H'Content-Type:application/json'

{

"id":"0",

"jsonrpc":"2.0",

"result":{

"payments":[{

"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",

"amount":1000000000000,

"block_height":127606,

"payment_id":"60900e5603bf96e3",

"subaddr_index":{

"major":0,

"minor":0

},

"tx_hash":"3292e83ad28fc1cc7bc26dbd38862308f4588680fbf93eae3e803cddd1bd614f",

"unlock_time":0

}]

}

}

get_bulk_payments

Getalistofincomingpaymentsusingagivenpaymentid,oralistofpaymentsids,fromagivenheight.Thismethodisthepreferredmethodover?get_paymentsbecauseithasthesamefunctionalitybutismoreextendable.EitherisfineforlookinguptransactionsbyasinglepaymentID.

Alias:?None.

Inputs:

payment_ids?-array??of:string;PaymentIDsusedtofindthepayments(16charactershex).

min_block_height?-unsigned??int;Theblockheightatwhichtostartlookingforpayments.

Outputs:

payments?-listof:

payment_id?-string;???PaymentIDmatchingoneoftheinputIDs.

动态 | Incognito旗下交易所pDEX上线门罗币:去中心化交易所Incognito宣布在旗下交易所pDEX中上线隐私币门罗币,任何人都可以匿名方式将门罗币兑换成数百种其他加密资产,包括比特币、ETH、USDT、DAI和BNB。[2020/2/25]

tx_hash?-string;???TransactionhashusedasthetransactionID.

amount?-???unsignedint;Amountforthispayment.

block_height?-???unsignedint;Heightoftheblockthatfirstconfirmedthispayment.

unlock_time?-unsignedint;Time(inblockheight)until???thispaymentissafetospend.

subaddr_index?-subaddress???index:

major?-???unsignedint;Accountindexforthesubaddress.

minor?-???unsignedint;Indexofthesubaddressintheaccount.

address?-string;???Addressreceivingthepayment;Base58representationofthepublickeys.

Example:

$curl-XPOSThttp://127.0.0.1:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_bulk_payments","params":{"payment_ids":,"min_block_height":"120000"}}'-H'Content-Type:application/json'

{

"id":"0",

"jsonrpc":"2.0",

"result":{

"payments":[{

"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",

"amount":1000000000000,

"block_height":127606,

"payment_id":"60900e5603bf96e3",

"subaddr_index":{

"major":0,

"minor":0

},

"tx_hash":"3292e83ad28fc1cc7bc26dbd38862308f4588680fbf93eae3e803cddd1bd614f",

"unlock_time":0

}]

}

}

get_transfer_by_txid

Showinformationaboutatransferto/fromthisaddress.

Alias:?None.

Inputs:

txid?-string;??TransactionIDusedtofindthetransfer.

account_index?-unsigned??int;(Optional)Indexoftheaccounttoqueryforthetransfer.

Outputs:

transfer?-JSON??objectcontainingpaymentinformation:

address?-string;???Addressthattransferredthefunds.Base58representationofthepublic???keys.

amount?-???unsignedint;Amountofthistransfer.

confirmations?-???unsignedint;Numberofblockminedsincetheblockcontainingthis???transaction(orblockheightatwhichthetransactionshouldbeaddedto???ablockifnotyetconfirmed).

destinations?-array???ofJSONobjectscontainingtransferdestinations:

amount?-???unsignedint;Amounttransferredtothisdestination.

address?-???string;Addressforthisdestination.Base58representationofthepublic???keys.

double_spend_seen?-???boolean;Trueifthekeyimage(s)forthetransferhavebeenseenbefore.

fee?-???unsignedint;Transactionfeeforthistransfer.

height?-???unsignedint;Heightofthefirstblockthatconfirmedthistransfer.

note?-string;???Noteaboutthistransfer.

payment_id?-string;???PaymentIDforthistransfer.

subaddr_index?-JSON???objectcontainingthemajor&minorsubaddressindex:

major?-???unsignedint;Accountindexforthesubaddress.

minor?-???unsignedint;Indexofthesubaddressundertheaccount.

suggested_confirmations_threshold?-???unsignedint;Estimationoftheconfirmationsneededforthetransaction???tobeincludedinablock.

timestamp?-???unsignedint;POSIXtimestampfortheblockthatconfirmedthistransfer???(ortimestampsubmissionifnotminedyet).

txid?-string;???TransactionIDofthistransfer(sameasinputTXID).

type?-string;???Typeoftransfer,oneofthefollowing:"in","out",???"pending","failed","pool"

unlock_time?-unsignedint;Numberofblocksuntil???transferissafelyspendable.

Example:

$curl-XPOSThttp://localhost:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_transfer_by_txid","params":{"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a"}}'-H'Content-Type:application/json'

{

"id":"0",

"jsonrpc":"2.0",

"result":{

"transfer":{

"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",

"amount":300000000000,

"confirmations":1,

"destinations":[{

"address":"7BnERTpvL5MbCLtj5n9No7J5oE5hHiB3tVCK5cjSvCsYWD2WRJLFuWeKTLiXo5QJqt2ZwUaLy2Vh1Ad51K7FNgqcHgjW85o",

"amount":100000000000

},{

"address":"77Vx9cs1VPicFndSVgYUvTdLCJEZw9h81hXLMYsjBCXSJfUehLa9TDW3Ffh45SQa7xb6dUs18mpNxfUhQGqfwXPSMrvKhVp",

"amount":200000000000

}],

"double_spend_seen":false,

"fee":21650200000,

"height":153624,

"note":"",

"payment_id":"0000000000000000",

"subaddr_index":{

"major":0,

"minor":0

},

"suggested_confirmations_threshold":1,

"timestamp":1535918400,

"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a",

"type":"out",

"unlock_time":0

}

}

}

点击查看官方文档:

https://www.getmonero.org/resources/developer-guides/wallet-rpc.html

郑重声明: 本文版权归原作者所有, 转载文章仅为传播更多信息之目的, 如作者信息标记有误, 请第一时间联系我们修改或删除, 多谢。

银河链

波场狂跌很心慌,比特币避险属性真的消失了吗?

今天主要想和大家聊一聊,这波狂跌之后引发的争议,分析一下,比特币避险属性到底还在不在。一、比特币是怎么成为“避险工具”的?金融市场能够带给投资者丰厚的回报,但是金融市场极易受到外在因素的冲击,比如:自然灾害、战乱、恐袭,这些天灾人祸都.

[0:15ms0-4:526ms