From d31999849a76fe256aed2df94dba723aa0ca775c Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 27 Mar 2021 19:41:31 +0800 Subject: [PATCH] readme and cmake updates --- CMakeLists.txt | 2 +- README.md | 11 +++++++---- ext/CMakeLists.txt | 1 + src/CMakeLists.txt | 2 +- src/crypto/CMakeLists.txt | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34ff718..70d3c7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0.2) set(PROJECT_NAME xmrblocks) diff --git a/README.md b/README.md index 61bac28..338e81d 100644 --- a/README.md +++ b/README.md @@ -296,8 +296,8 @@ Partial results shown: "data": { "block_height": 1268252, "coinbase": false, - "confirmations": 1, - "current_height": 1268253, + "confirmations": 1057855, + "current_height": 2326107, "extra": "01be23e277aed6b5f41f66b05244bf994c13108347366ec678ae16657f0fc3a22b", "inputs": [ { @@ -306,11 +306,13 @@ Partial results shown: "mixins": [ { "block_no": 1238623, - "public_key": "0a5b853c55303c10e1326acfb085b9e246e088b1ccac7e37f7a810d46a28a914" + "public_key": "0a5b853c55303c10e1326acfb085b9e246e088b1ccac7e37f7a810d46a28a914", + "tx_hash": "686555fb053dd53f6f9eb79449e2bdcd377221f823f508158d70d4a1966fe955" }, { "block_no": 1246942, - "public_key": "527cf86f5abbfb006c970f7c6eb40493786d4751306f8985c6a43f98a88c0dff" + "public_key": "527cf86f5abbfb006c970f7c6eb40493786d4751306f8985c6a43f98a88c0dff", + "tx_hash": "4fa1999f9e0d2ad031dbe5594f2e8336651b6cad19dd3cee7980a01c47600f91" } ] } @@ -340,6 +342,7 @@ Partial results shown: }, "status": "success" } + ``` #### api/transactions diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index 282bc15..e598331 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -1,4 +1,5 @@ # first build mstch template library +cmake_minimum_required(VERSION 3.0.2) add_subdirectory("mstch") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c952e91..2b30c58 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0.2) project(myxrm) diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt index fe7f03c..8cbac5a 100644 --- a/src/crypto/CMakeLists.txt +++ b/src/crypto/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0.2) project(mycrypto)