https://github.com/fedoracoin-dev/fedoracoinThe latest source code is linked above. So far been 2 hours and its near enough synced. onto block 613K. This syncs much faster, has some built in nodes, and has Automatic Checkpointing. Once my node has finished syncing i will start it running. I will see if i can get someone to build some windows wallets. This is now a mandatory update My BTC Address is 12tSquEBTgs2WsHXgh5kKD8hNwvsrvo7o1 Ahmed
|
|
|
Thank you very much The script is completed. My BTC Address is 12tSquEBTgs2WsHXgh5kKD8hNwvsrvo7o1 Running the code on the sample produces ./parse_file.py Workbook1.xlsx -------------------------------------------------------------------------- Loading XLS File: Workbook1.xlsx -------------------------------------------------------------------------- Question 1: 0 -------------------------------------------------------------------------- Ignoring Cells: -------------------------------------------------------------------------- Reading Team 1 Stats: Rows 1, 11 -------------------------------------------------------------------------- Column A1. Key: Por. Incrementing Counter and adding value: 6.0 Column A2. Key: DsCs. Incrementing Counter and adding value: 5.5 Column A3. Key: Dc. Incrementing Counter and adding value: 5.0 Column A4. Key: Dc. Incrementing Counter and adding value: 6.0 Column A5. Key: DdDsCdCs. Incrementing Counter and adding value: 6.0 Column A7. Key: Mcc. Incrementing Counter and adding value: 6.0 -------------------------------------------------------------------------- Reading Team 2 Stats: Rows 13 - 23 -------------------------------------------------------------------------- Column A13. Key: Por. Incrementing Counter and adding value: 6.0 Column A14. Key: DsDcCs. Incrementing Counter and adding value: 6.0 Column A15. Key: Dc. Incrementing Counter and adding value: 6.0 Column A16. Key: Dc. Incrementing Counter and adding value: 5.0 Column A17. Key: DdDsCdCs. Incrementing Counter and adding value: 5.5 Column A19. Key: Mcc. Incrementing Counter and adding value: 5.0 Column A20. Key: Mcc. Incrementing Counter and adding value: 6.5 Difference is Negative, Adding 5 * 1 to Team 0 -------------------------------------------------------------------------- Team One Total: 39.5 Team Two Total: 40.0 Team Difference: -0.5 --------------------------------------------------------------------------
The code is as follows #!/usr/bin/env python import xlrd import sys
if len(sys.argv) < 0: print("XLS File Not Specified") sys.exit(-1)
file = sys.argv[1] print("--------------------------------------------------------------------------") print("Loading XLS File: {0}".format(file)) print("--------------------------------------------------------------------------")
stats = {0: {'Count': 0, 'Total': 0}, 1: {'Count': 0, 'Total': 0}} required_values = ['por', 'ds', 'dc', 'dd', 'mcc', 'dscs', 'ddcd', 'ddcddscs', 'dsdc', 'dddc', 'dsdddc', 'dddscdcs', 'dsdccs'] other_values = ['dc', 'ds', 'dd', 'cd', 'cs'] ignored_cells = []
def load_sheet(file, sheet): workbook = xlrd.open_workbook(file) worksheet = workbook.sheet_by_index(0) return worksheet
def read_stats(start_row, end_row, stats={'Count': 0, 'Total': 0}): for i in range(start_row, end_row): if i in ignored_cells: continue
value = sheet.cell(i, 0).value if value.lower() in required_values or any(item in value.lower() for item in other_values): amount = sheet.cell(i, 3).value if type(amount) == unicode and amount.strip() == '-': amount = float(0) if type(amount) != float and not amount.isdigit(): amount = amount.replace(',', '.') amount = float(amount) stats['Count'] += 1 stats['Total'] += amount print("Column A{0}. Key: {1}. Incrementing Counter and adding value: {2}".format(i+1, value, amount))
while True: print("Question 1: ") ignored_cell = raw_input() if not ignored_cell.isdigit(): print("Value was not a number") continue ignored_cell = int(ignored_cell) if ignored_cell == 0: break if ignored_cell > 23 or number < 0: print("Number Out of Range") continue print("Ignoring Cell: {0}".format(ignored_cell)) ignored_cells.append(ignored_cell)
print("--------------------------------------------------------------------------") print("Ignoring Cells: {0}".format(",".join((str(i) for i in ignored_cells)))) sheet = load_sheet(file, 0)
print("--------------------------------------------------------------------------") print("Reading Team 1 Stats: Rows 1, 11") print("--------------------------------------------------------------------------") read_stats(0, 11, stats[0]) print("--------------------------------------------------------------------------") print("Reading Team 2 Stats: Rows 13 - 23") print("--------------------------------------------------------------------------") read_stats(12, 23, stats[1])
difference = stats[0]['Count'] - stats[1]['Count'] if difference > 0: stats[1]['Total'] += (5 * difference) print("Difference is Negative, Adding 5 * {0} to Team 1".format(difference)) elif difference < 0: stats[0]['Total'] += (5 * -difference) print("Difference is Negative, Adding 5 * {0} to Team 0".format(-difference))
print("--------------------------------------------------------------------------") print("Team One Total: {0}".format(stats[0]['Total'])) print("Team Two Total: {0}".format(stats[1]['Total'])) print("Team Difference: {0}".format(stats[0]['Total'] - stats[1]['Total'])) print("--------------------------------------------------------------------------")
|
|
|
./parse_file.py Workbook1.xlsx -------------------------------------------------------------------------- Loading XLS File: Workbook1.xlsx -------------------------------------------------------------------------- Question 1: 0 -------------------------------------------------------------------------- Ignoring Cells: -------------------------------------------------------------------------- Reading Team 1 Stats: Rows 1 - 11 -------------------------------------------------------------------------- Column A1. Key: Por. Incrementing Counter and adding value: 6.0 Column A2. Key: DsCs. Incrementing Counter and adding value: 5.5 Column A3. Key: Dc. Incrementing Counter and adding value: 5.0 Column A4. Key: Dc. Incrementing Counter and adding value: 6.0 Column A7. Key: Mcc. Incrementing Counter and adding value: 6.0 -------------------------------------------------------------------------- Reading Team 2 Stats: Rows 13 - 23 -------------------------------------------------------------------------- Column A13. Key: Por. Incrementing Counter and adding value: 6.0 Column A15. Key: Dc. Incrementing Counter and adding value: 6.0 Column A16. Key: Dc. Incrementing Counter and adding value: 5.0 Column A19. Key: Mcc. Incrementing Counter and adding value: 5.0 Column A20. Key: Mcc. Incrementing Counter and adding value: 6.5 -------------------------------------------------------------------------- Team One Total: 28.5 Team Two Total: 28.5 Team Difference: 0 --------------------------------------------------------------------------
|
|
|
I will do it for you in python for 0.05 BTC
Yeah sorry, ive tried everything but i just get different results Ahmed
|
|
|
I've no idea. Someone here said they were re-scanning theyre wallet weeks ago
Ahmed
|
|
|
It's not a case of trust, It's a case of needing food and a roof over my head...
Ahmed
|
|
|
I have 5636000 coins, Anyone willing to buy them from me at 12 sat?
Ahmed
|
|
|
Managed to compile the new code with ACP built in, Will now test it and give you guys an update to see where we are at
|
|
|
Syncing through both existing hard forks successful.
[ { "height" : 76383, "hash" : "3c10a7a54846429145c63e4de23dd3f3e25a483cb07ec8f27674ebff77450795", "branchlen" : 75407, "status" : "headers-only" }, { "height" : 976, "hash" : "468ed6fb83178dc7f80d57c22a7c31c9c5335ce91768cbbb710930c22e4ead2f", "branchlen" : 0, "status" : "active" } ]
Once it completes, i will begin to (attempt) to add in automated checkpointing and prepare for fork number 3
Ahmed
|
|
|
Looking like the daemon will sync the full chain.
Managed to get the first hard fork. block 51K now,
|
|
|
Got the first copy of the new TIPS daemon running, only on block 86 just now, with only one node. But will update here as it proceeds further
|
|
|
I'll make a deal. Since TIPS is being attacked. I will start work on the coin today, with 0.2 BTC downpayment. and the rest can be paid once the job is done. I should have an upgraded source in the coming week. (maybe later today if i make a good amount of progress)
Ahmed
Ahmed, Very appreciated, the only problem, we can't guarantee the other .8 BTC if not enough people contribute. Psycodad, Could you publish an address where we can start depositing BTC? All, As for what updates go into the new wallet, I only suggest a minimum of two: 1) Keep Scrypt 2) added security... by whatever means does the job If better security is obtained by adding a hybrid POS/POW (with minimal POS) then so be it. I don't even know what a current block is worth because I don't mine it (maybe I should start ), but I would vote to keep the POW reward as is, or tweak it only if there is a significant outcry to change it. I've instead changed to latest LTC due to problems integrating scrypt into bitcoin master. I'l be keeping Scrypt, i can look into adding automated checkpointing too I do know the 0.8 BTC isnt guaranteed, I'm willing to wait till its raised if it does but i'll release the source as soon as im done. Main reason for me asking so little is im in a tough spot atm so anything helps Ahmed
|
|
|
At the moment i've started on upgrading TIPS to Bitcoin Master with Scrypt
Ahmed
|
|
|
I'll make a deal. Since TIPS is being attacked. I will start work on the coin today, with 0.2 BTC downpayment. and the rest can be paid once the job is done. I should have an upgraded source in the coming week. (maybe later today if i make a good amount of progress)
Ahmed
|
|
|
@Dev what bounties are available and what are the requirements?
|
|
|
if your NOT connected then copy biodieselchris's configuration file
If you ARE connected, then dont change what you have
AHmed
|
|
|
there's no confirmed fork. But the main greencoin seed node likely will be up 100% once i've finished the work im doing atm (Its better for people to connect to each other rather than the main seed node, It'll help to make sure everything isnt relying on a single point)
Ahmed
|
|
|
aslong as you've got a connection you dont need to change anything. I've taken the crypto-expert node offline as i do some work on the server and possibly bring up a more permanent node.
Ahmed
|
|
|
|