From 4c7b5311caf1a0cb70655cdd06b184abe6d3fe30 Mon Sep 17 00:00:00 2001
From: holgern <holgernahrstaedt@gmx.de>
Date: Wed, 8 Apr 2020 18:02:21 +0200
Subject: [PATCH] Prepare next release 0.23.0

---
 CHANGELOG.rst               |  5 +++++
 appveyor.yml                |  6 +++---
 beem/nodelist.py            | 10 +++++++++-
 beem/storage.py             |  2 +-
 beem/version.py             |  2 +-
 beemapi/version.py          |  2 +-
 beembase/version.py         |  2 +-
 beemgraphenebase/version.py |  2 +-
 pyinstaller/VERSION         |  2 +-
 setup.py                    |  2 +-
 10 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a2c0b79b..73aef1e5 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,10 @@
 Changelog
 =========
+0.23.0
+------
+* set hive as default for default_chain
+* get_nodes return hive nodes by default
+
 0.22.14
 -------
 * add click_shell to turn beempy into a shell utility with autocompletion
diff --git a/appveyor.yml b/appveyor.yml
index b4f9341b..21e486d0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,10 +9,10 @@ environment:
     WITH_COMPILER: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_compiler.cmd"
 
   matrix:
-    - PYTHON: "C:\\Python36-x64"
+    - PYTHON: "C:\\Python37-x64"
       PYTHON_ARCH: "64"
-      MINICONDA: C:\Miniconda36-x64
-      COMM_PY: "py36"
+      MINICONDA: C:\Miniconda37-x64
+      COMM_PY: "py37"
 
       
 install:
diff --git a/beem/nodelist.py b/beem/nodelist.py
index 4c90509d..e1cd8cf1 100644
--- a/beem/nodelist.py
+++ b/beem/nodelist.py
@@ -169,6 +169,14 @@ class NodeList(list):
                 "owner": "someguy123",
                 "hive": True,
                 "score": 10
+            },
+            {
+                "url": "https://api.pharesim.me",
+                "version": "0.23.0",
+                "type": "appbase",
+                "owner": "pharesim",
+                "hive": True,
+                "score": 10                
             }]
         super(NodeList, self).__init__(nodes)
 
@@ -260,7 +268,7 @@ class NodeList(list):
             new_nodes.append(new_node)
         super(NodeList, self).__init__(new_nodes)
 
-    def get_nodes(self, hive=False, exclude_limited=False, dev=False, testnet=False, testnetdev=False, wss=True, https=True, not_working=False, normal=True, appbase=True):
+    def get_nodes(self, hive=True, exclude_limited=False, dev=False, testnet=False, testnetdev=False, wss=True, https=True, not_working=False, normal=True, appbase=True):
         """ Returns nodes as list
 
             :param bool hive: When True, only HIVE nodes will be returned
diff --git a/beem/storage.py b/beem/storage.py
index 8c0a51cf..33be4d00 100644
--- a/beem/storage.py
+++ b/beem/storage.py
@@ -404,7 +404,7 @@ class Configuration(DataDir):
 
     #: Default configuration
     nodelist = NodeList()
-    blockchain = "steem" # will be changed to hive in the next release
+    blockchain = "hive"
     if blockchain == "hive":
         nodes = nodelist.get_hive_nodes(testnet=False)
     elif blockchain == "steem":
diff --git a/beem/version.py b/beem/version.py
index b8bc9d9c..2dea5329 100644
--- a/beem/version.py
+++ b/beem/version.py
@@ -1,2 +1,2 @@
 """THIS FILE IS GENERATED FROM beem SETUP.PY."""
-version = '0.22.14'
+version = '0.23.0'
diff --git a/beemapi/version.py b/beemapi/version.py
index b8bc9d9c..2dea5329 100644
--- a/beemapi/version.py
+++ b/beemapi/version.py
@@ -1,2 +1,2 @@
 """THIS FILE IS GENERATED FROM beem SETUP.PY."""
-version = '0.22.14'
+version = '0.23.0'
diff --git a/beembase/version.py b/beembase/version.py
index b8bc9d9c..2dea5329 100644
--- a/beembase/version.py
+++ b/beembase/version.py
@@ -1,2 +1,2 @@
 """THIS FILE IS GENERATED FROM beem SETUP.PY."""
-version = '0.22.14'
+version = '0.23.0'
diff --git a/beemgraphenebase/version.py b/beemgraphenebase/version.py
index b8bc9d9c..2dea5329 100644
--- a/beemgraphenebase/version.py
+++ b/beemgraphenebase/version.py
@@ -1,2 +1,2 @@
 """THIS FILE IS GENERATED FROM beem SETUP.PY."""
-version = '0.22.14'
+version = '0.23.0'
diff --git a/pyinstaller/VERSION b/pyinstaller/VERSION
index 9b1c0a8e..2ba6141d 100644
--- a/pyinstaller/VERSION
+++ b/pyinstaller/VERSION
@@ -1 +1 @@
-0.22.14
\ No newline at end of file
+0.23.0
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 3b1679cb..cf6ea3cc 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ except LookupError:
     ascii = codecs.lookup('ascii')
     codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
 
-VERSION = '0.22.14'
+VERSION = '0.23.0'
 
 tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']
 
-- 
GitLab