From d6f03790c4e9443fe0e3f691242f0f8f1d4b3226 Mon Sep 17 00:00:00 2001 From: VERGE/XVG Date: Tue, 10 May 2016 16:51:14 -0400 Subject: [PATCH 1/4] rebranded doged to xvg --- src/chains/{dogecoindark.py => verge.py} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/chains/{dogecoindark.py => verge.py} (83%) diff --git a/src/chains/dogecoindark.py b/src/chains/verge.py similarity index 83% rename from src/chains/dogecoindark.py rename to src/chains/verge.py index 26bdd24..a1042fa 100644 --- a/src/chains/dogecoindark.py +++ b/src/chains/verge.py @@ -6,8 +6,8 @@ class Currency(cryptocur.CryptoCur): p2sh_version = 33 genesis_hash = '00000fc63692467faeb20cdb3b53200dc601d75bdfa1001463304cc790d77278' - coin_name = 'DogecoinDark' - code = 'DOGED' + coin_name = 'Verge' + code = 'XVG' @chainhook def transaction_parse_fields(self, vds, is_coinbase, fields): @@ -15,4 +15,4 @@ def transaction_parse_fields(self, vds, is_coinbase, fields): fields.insert(1, timestamp) irc_nick_prefix = 'EL_' - irc_channel = '#electrum-doged' + irc_channel = '#electrum-xvg' From e198ba67c484cd3b2d4941399547efa8bd9655a5 Mon Sep 17 00:00:00 2001 From: VERGE/XVG Date: Tue, 10 May 2016 22:09:07 -0400 Subject: [PATCH 2/4] Update deserialize.py --- src/deserialize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/deserialize.py b/src/deserialize.py index 4f05143..70b55ef 100644 --- a/src/deserialize.py +++ b/src/deserialize.py @@ -278,6 +278,7 @@ def parse_Transaction(vds, is_coinbase): start = vds.read_cursor fields = [('version', vds.read_int32, True), # version + ('nTime', vds.read_compact_size, True), # nTime ('vin', vds.read_compact_size, False), # vin ('inputs', 'parse_inputs', True), # inputs ('vout', vds.read_compact_size, False), # vout From d6f54c3c2f70ae8741f5e89be3c7e33f77b58b88 Mon Sep 17 00:00:00 2001 From: VERGE/XVG Date: Tue, 10 May 2016 22:11:12 -0400 Subject: [PATCH 3/4] Update encompass-mercury.conf.sample --- encompass-mercury.conf.sample | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/encompass-mercury.conf.sample b/encompass-mercury.conf.sample index 42d8aec..6f871e0 100644 --- a/encompass-mercury.conf.sample +++ b/encompass-mercury.conf.sample @@ -58,8 +58,8 @@ coind_password = pkbrpcpassword coind_host = localhost coind_port = 59060 -[doged] -coind_user = dogedrpcuser -coind_password = rpcpassword +[verge] +coind_user = verge +coind_password = vergerpcpassword coind_host = localhost -coind_port = 107337 +coind_port = 20102 From 6fb025670c46e2f76e543d7b1b41e86b52c65d21 Mon Sep 17 00:00:00 2001 From: VERGE/XVG Date: Tue, 10 May 2016 22:23:19 -0400 Subject: [PATCH 4/4] Update deserialize.py --- src/deserialize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deserialize.py b/src/deserialize.py index 70b55ef..ba35981 100644 --- a/src/deserialize.py +++ b/src/deserialize.py @@ -278,7 +278,7 @@ def parse_Transaction(vds, is_coinbase): start = vds.read_cursor fields = [('version', vds.read_int32, True), # version - ('nTime', vds.read_compact_size, True), # nTime + ('nTime', vds.read_int32, True), # nTime ('vin', vds.read_compact_size, False), # vin ('inputs', 'parse_inputs', True), # inputs ('vout', vds.read_compact_size, False), # vout