Skip to content

Commit

Permalink
/block page now shows txId in payments table.
Browse files Browse the repository at this point in the history
fixed earthcoin coin config.
  • Loading branch information
bonesoul committed Sep 24, 2014
1 parent 9d3f791 commit ac594f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/CoiniumServ/Shares/ShareManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
using System.Diagnostics;
using System.Linq;
using AustinHarris.JsonRpc;
using CoiniumServ.Blocks;
using CoiniumServ.Daemon;
using CoiniumServ.Daemon.Exceptions;
using CoiniumServ.Jobs.Tracker;
using CoiniumServ.Persistance;
using CoiniumServ.Persistance.Layers;
using CoiniumServ.Pools;
using CoiniumServ.Server.Mining.Getwork;
Expand Down
3 changes: 3 additions & 0 deletions src/CoiniumServ/config/coins/earthcoin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"block": "http://earthchain.info/block/",
"tx": "http://earthchain.info/tx/",
"address": "http://earthchain.info/address/"
},
"options": {
"txMessageSupported": true
}
}
4 changes: 2 additions & 2 deletions src/CoiniumServ/web/default/views/pool/block.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<th title="Payment address of the user">Address</th>
<th title="Amount of the payment">Amount</th>
<th class="hidden-xs" title="Is the payment executed?">Fullfilled</th>
<th class="hidden-xs" title="Hash of the transaction">Tx Hash</th>
<th class="hidden-xs" title="Id of the transaction">Tx Id</th>
<th class="hidden-xs" title="Date of the payment">Date</th>
</tr>
@foreach (var paymentDetails in @Model.Payments)
Expand All @@ -93,7 +93,7 @@
<td class="hidden-xs">
@if (paymentDetails.Completed)
{
<a href="/pool/@Model.Coin.Symbol/tx/@paymentDetails.TransactionId">@paymentDetails.TxHash.Substring(0, 10)</a>
<a href="/pool/@Model.Coin.Symbol/tx/@paymentDetails.TransactionId">@paymentDetails.TransactionId</a>
}
else
{
Expand Down

0 comments on commit ac594f0

Please sign in to comment.